-
Notifications
You must be signed in to change notification settings - Fork 21
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
Audit use of !important
#25
Comments
The usages in 7241d17 are necessary to override some I'm guessing the ones that came from Blockbase are there for a similar reason... |
I haven't noticed any side effects from 2d83fbf, so i think in some cases the blockbase ones aren't relevant to our custom design. in general, i suspect there may be a lot of blockbase styles that go unused. IIRC Lighthouse will identify rules that aren't used on any page, so we could run that before the launch. in some cases i've be able to override the |
@kellychoffman @beafialho any recommendations here? |
Not sure the best approach here - will lean on theme devs for help with this. |
Lately I've been using selectors like That may still be a symptom of a deeper problem, though, like hardcoding styles instead of taking advantage of things Gutenberg could automatically if we knew how to leverage that. xref #30 (comment), #30 (comment) |
We have a lot of instances where
!important
is used, and I've already run into a case where that's causing a problem.Most of them appear to be from 05ec95d, so those may not actually be necessary for us.
The only other I see is from 7241d17, and I'm guessing there's a good reason for it - cc @coreymckrill
The text was updated successfully, but these errors were encountered: