mirror of
https://github.com/mara-li/obsidian-simple-colored-folder.git
synced 2026-07-22 05:46:20 +00:00
docs: replace :has selector with data-path attribute for nav-folder styling
This commit is contained in:
parent
70fbbc3306
commit
23d693e9ee
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ To remove the border when collapsed, add just this in a separate CSS snippet:
|
|||

|
||||
|
||||
```css
|
||||
.tree-item.nav-folder:has([data-path="${folderName}"]) {
|
||||
.tree-item.nav-folder[data-path="${folderName}"] {
|
||||
--nav-indentation-guide-color: var(${color});
|
||||
}
|
||||
```
|
||||
Loading…
Reference in a new issue