Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: when using "a seperate pane for showing list" feature , can we have some way to highlight current tag? #75

Open
liangzh-404 opened this issue Jul 2, 2023 · 1 comment

Comments

@liangzh-404
Copy link

when using seperate pane for list in sidebar, currently I have no way to know the tag I am selecting
image

@vrtmrz
Copy link
Owner

vrtmrz commented Jul 10, 2023

Thank you for asking me! And, sorry for the delayed response.

It should be shown top of the area. However, this will be scrolled out with items (This behaviour has been adjusted along File Explorer)

Probably the following CSS snippet will help us.

.nav-folder.mod-root > .tree-item-self.nav-folder-title:first-child {
	position: sticky;
    top: 0;
    background-color: var(--background-secondary);
    z-index: 10;
}

If you want to limit this effect only to the separated list, please add a selector like this:

[data-type="tagfolder-view-list"] .nav-folder.mod-root > .tree-item-self.nav-folder-title:first-child {
    position: sticky;
    top: 0;
    background-color: var(--background-secondary);
    z-index: 10;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants