Skip to content

Commit

Permalink
Fix sometimes-misplaced maximized stacked tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed Oct 14, 2022
1 parent 8dc0575 commit d29a25a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "pane-relief",
"name": "Pane Relief",
"version": "0.4.0",
"version": "0.4.1",
"minAppVersion": "0.15.9",
"description": "Per-tab history, hotkeys for pane/tab movement, navigation, sliding workspace, and more",
"author": "PJ Eby",
Expand Down
5 changes: 5 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ body > .popover.hover-popover .workspace-split.should-maximize
.workspace-split:not(.has-maximized) {
display: none;
}
.workspace-tabs.mod-stacked .workspace-leaf.is-maximized {
// Override Obsidian tab positioning
max-width: unset !important;
left: unset !important;
}
.workspace-leaf.is-maximized {
flex-basis: calc(100% - 4px); // 4px is for scrollbar width
.view-header {
Expand Down

0 comments on commit d29a25a

Please sign in to comment.