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

ui: Fix for differences between uncompiled and compiled CSS #7233

Merged
merged 1 commit into from
Feb 6, 2020

Conversation

johncowen
Copy link
Contributor

We noticed that this relative positioning is not even applied when the CSS is
compiled/compressed. When looking via Web Inspector this style/selector
doesn't even appear even though it is in the CSS source.

This !important reduces the amount of selectors for this style rule,
which fixes the error, so potentially this isn't a specificity thing.

See #7148 for the original fix that works in development mode, yet not once all the CSS is compressed in production mode.

Fixes #7229

We noticed that this relative positioning is not even applied when the CSS is
compiled/compressed. When looking via Web Inspector this style/selector
doesn't even appear even though it is in the CSS source.

This !important reduces the amount of selectors for this style rule,
which fixes the error, so potentially this isn't a specificity thing.
@johncowen johncowen added the theme/ui Anything related to the UI label Feb 6, 2020
@johncowen johncowen requested review from rboyer and a team February 6, 2020 12:06
Copy link
Contributor

@kaxcode kaxcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johncowen
Copy link
Contributor Author

I also checked with @rboyer offline also, and all a-ok!

@johncowen johncowen merged commit 9e186c7 into ui-staging Feb 6, 2020
@johncowen johncowen deleted the bugfix/ui-css-compilation-fix branch February 6, 2020 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants