-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove extra space when hiding sidebar buttons on macOS
- Loading branch information
Showing
2 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,66 @@ | ||
/* Hides vault name */ | ||
.hider-vault .workspace-sidedock-vault-profile, | ||
body.hider-vault:not(.is-mobile) .workspace-split.mod-left-split .workspace-sidedock-vault-profile { | ||
display:none; | ||
display:none; | ||
} | ||
|
||
/* Hide tabs */ | ||
.hider-tabs .mod-root .workspace-tabs .workspace-tab-header-container { | ||
display: none; | ||
display: none; | ||
} | ||
|
||
.hider-tabs .mod-top-left-space .view-header { | ||
padding-left: var(--frame-left-space); | ||
padding-left: var(--frame-left-space); | ||
} | ||
|
||
/* Hide sidebar buttons */ | ||
.hider-sidebar-buttons .sidebar-toggle-button.mod-right, | ||
.hider-sidebar-buttons .sidebar-toggle-button.mod-left { | ||
display: none; | ||
display: none; | ||
} | ||
.hider-sidebar-buttons.mod-macos.is-hidden-frameless:not(.is-popout-window) .workspace .workspace-tabs.mod-top-right-space .workspace-tab-header-container { | ||
padding-right: 4px; | ||
padding-right: 4px; | ||
} | ||
.hider-sidebar-buttons.mod-macos { | ||
--frame-left-space: 60px; | ||
} | ||
|
||
/* Hide meta */ | ||
.hider-meta .markdown-reading-view .metadata-container { | ||
display:none; | ||
display:none; | ||
} | ||
|
||
/* Hide scrollbars */ | ||
.hider-scroll ::-webkit-scrollbar { | ||
display:none; | ||
display:none; | ||
} | ||
|
||
/* Hide status */ | ||
.hider-status .status-bar { | ||
display:none; | ||
display:none; | ||
} | ||
|
||
/* Hide tooltips */ | ||
.hider-tooltips .tooltip { | ||
display:none; | ||
display:none; | ||
} | ||
|
||
/* Hide search suggestions */ | ||
.hider-search-suggestions .suggestion-container.mod-search-suggestion { | ||
display: none; | ||
display: none; | ||
} | ||
|
||
/* Hide search count flair */ | ||
.hider-search-counts .tree-item-flair:not(.tag-pane-tag-count) { | ||
display:none; | ||
display:none; | ||
} | ||
|
||
/* Hide instructions */ | ||
.hider-instructions .prompt-instructions { | ||
display:none; | ||
display:none; | ||
} | ||
|
||
/* Hide file nav header */ | ||
.hider-file-nav-header .workspace-leaf-content[data-type=file-explorer] .nav-header { | ||
display: none; | ||
display: none; | ||
} |