Last active
October 6, 2023 10:31
-
-
Save vrtmrz/ccd635c602f3421c08d66b8a19ed93ce to your computer and use it in GitHub Desktop.
TagFolder hack CSS for prioritize active files
This file contains hidden or 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
[data-type=tagfolder-link-view] .tree-item-children.nav-folder-children { | |
display: flex; | |
flex-direction: column; | |
} | |
[data-type=tagfolder-link-view] .tree-item.nav-folder { | |
order: -2; | |
} | |
[data-type=tagfolder-link-view] .tree-item.nav-folder:has(.is-active) { | |
order: -3; | |
} | |
[data-type=tagfolder-link-view] .tree-item.nav-file:has(.is-active) { | |
order: -1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment