mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Fix rtl & 1.7.2 style bug
This commit is contained in:
parent
4b5168d3a0
commit
fd0be43524
1 changed files with 34 additions and 1 deletions
35
styles.css
35
styles.css
|
|
@ -1,21 +1,37 @@
|
|||
.fn-whitespace-stop-collapsing .nav-folder-title-content {
|
||||
flex-grow: 1 !important;
|
||||
display: flex;
|
||||
padding-bottom: 4px !important;
|
||||
padding-top: 4px !important;
|
||||
}
|
||||
|
||||
.fn-whitespace-stop-collapsing .collapse-icon {
|
||||
padding-top: 4px !important;
|
||||
}
|
||||
|
||||
.mod-rtl .fn-whitespace-stop-collapsing .nav-folder-title-content {
|
||||
padding-left: 8px !important;
|
||||
}
|
||||
|
||||
.fn-whitespace-stop-collapsing .nav-folder-title {
|
||||
padding-bottom: 0 !important;
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
body:not(.mod-rtl).fn-whitespace-stop-collapsing .nav-folder-title {
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.mod-rtl.fn-whitespace-stop-collapsing .nav-folder-title {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.fn-whitespace-stop-collapsing .nav-folder-collapse-indicator {
|
||||
margin-top: 4px !important;
|
||||
}
|
||||
|
||||
body:not(.is-grabbing) .tree-item-self.fn-is-active:hover,
|
||||
.tree-item-self.fn-is-active {
|
||||
body:not(.disable-folder-highlight) .tree-item-self.fn-is-active {
|
||||
color: var(--nav-item-color-active);
|
||||
background-color: var(--nav-item-background-active);
|
||||
font-weight: var(--nav-item-weight-active);
|
||||
|
|
@ -237,4 +253,21 @@ body:not(.is-grabbing) .tree-item-self.fn-is-active:hover,
|
|||
display: none;
|
||||
}
|
||||
|
||||
.fn-hide-empty-collapse-icon .fn-empty-folder .tree-item-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* .fn-suggestion-container {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: var(--background-primary);
|
||||
max-width: 500px;
|
||||
max-height: 300px;
|
||||
border-radius: var(--radius-m);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
box-shadow: var(--shadow-s);
|
||||
z-index: var(--layer-notice);
|
||||
} */
|
||||
Loading…
Reference in a new issue