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

Incorrect tree collapse icon offset in files navigation #9

Open
yosefahab opened this issue Mar 24, 2024 · 0 comments
Open

Incorrect tree collapse icon offset in files navigation #9

yosefahab opened this issue Mar 24, 2024 · 0 comments

Comments

@yosefahab
Copy link

yosefahab commented Mar 24, 2024

First off, amazing work with the colors, they're very calming, Salute!

I'm not sure if this is intended behavior or not, but the dropdown icon next to the directories seems to be offset down a little bit, which causes it to overlap with the icon underneath it.

Possible fix is to modify translateY, it should be -6 not 6 and even better add an extra .6.

.nav-folder.is-collapsed .nav-folder-collapse-indicator {
    transform: translateX(-11px) translateY(-6.6px) rotate(-90deg);
    opacity: 0.4;
}
Screenshot 2024-03-24 at 14 08 03
  • Edit: I noticed this also affects the icons in the main markdown file when using preview mode but in the opposite direction, so my fix wouldn't apply to one without affecting the other.
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

1 participant