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

Global styles classes comes all with "!important" declaration in Gutenberg plugin 10.3 #30489

Closed
CreativeDive opened this issue Apr 3, 2021 · 1 comment
Labels
CSS Styling Related to editor and front end styles, CSS-specific issues. [Type] Regression Related to a regression in the latest release

Comments

@CreativeDive
Copy link
Contributor

Hey,

after updating to Gutenberg plugin 10.3 the global style classes which are added inline to the HTML document are all declared with "!important":

Bildschirmfoto 2021-04-03 um 11 09 12

That leads to issues.

An example:

I have the class "has-huge-font-size" with a size of 35px on the desktop.

Before, I was able to display such a large heading in CSS smaller if the screen width is less than 768px.

Now none of this works anymore because these classes are all delivered with "!important".

Please remove "!important" from this inline styles again.

@skorasaurus skorasaurus added [Type] Regression Related to a regression in the latest release CSS Styling Related to editor and front end styles, CSS-specific issues. labels Apr 3, 2021
@skorasaurus
Copy link
Member

Thanks for reporting;
This has been reported in #29985. Feel free to add your reaction and follow its progress in the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS Styling Related to editor and front end styles, CSS-specific issues. [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

No branches or pull requests

2 participants