-
Notifications
You must be signed in to change notification settings - Fork 74
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
Fix look of inactive settings tab icons #457
Conversation
@chrisgrieser, thanks for pointing this out! Is there a reason to not use the hidden class? Display none works, but is not accessibility friendly. |
What do you mean by "hidden class"? If you mean |
There is a style called hidden which is not perfect, but it should be more accessibility friendly. |
I had the name wrong. Here is the style: obsidian-linter/src/styles.css Line 135 in 3668268
|
well, since the inactive tab names do not get that hidden class, I assume that would have to be done via js, and not via css, and therefore outside my area of expertise 😝 although if I understand the article correctly, |
I could be wrong, but why would it not be feasible to extend visually hidden with the css selector you had? It should be able to apply to both based on what you are saying. |
to my knowledge, there is no way in (pure) css to extend the styling of one class to another? |
ah, now I understand what you mean. Yeah, adding the selector to that block also works, sure. done so in the latest commit |
That's what I was going for. Thanks! |
the name of the inactive tab is not properly hidden, causing issues with some themes like mine. This PR adds a rule which should properly fix this issue for any theme.
without the PR:
with the PR: