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

Look at simplifying more feature implementations with the CSS :has() pseudo-class #540

Open
1 task
insin opened this issue Apr 5, 2024 · 0 comments
Open
1 task
Labels
enhancement New feature or request

Comments

@insin
Copy link
Owner

insin commented Apr 5, 2024

As of Firefox 121 (released 4 months ago), all the main browsers we support support the CSS :has() pseudo-class

Look at existing features which could be simplified by using it instead

e.g. to hide the "Subs" tab (example of a profile which has it), we're currently manually finding the tab and adding a class to it - this could be a single CSS selector with :has() instead

  • Hiding Subs tab
@insin insin added the enhancement New feature or request label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant