-
Notifications
You must be signed in to change notification settings - Fork 33
Incorrect rules order #9
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
Comments
I'll try to fix it in the next release. For now you can use this workaround: div {
background: linear-gradient(to right, #c8c8c8 15.5%, transparent 15.5%) repeat-x;
}
[dir] div {
background-size: 4.16667% 4px
} Thanks for the report! |
Could you please fix this asap? I have a similar issue with background-image... see: teaser.css |
I also encountered a similar issue today. I have some styles that result in the following styles declarations (we have duplicate declarations for .gradientBackground {
background-image: linear-gradient(to right, black 0%, white 50%, black 100%);
height: 100%;
width: 100%;
background-image: var(--brand-radial-gradient);
} After going through Post CSS RTL, the following is output in our CSS files. The order of the style declarations that's being output is not what I would expect based on the input, and so the first background-image styling is being applied as opposed to the second. What I would expect here is that both declarations for .dir.gradientBackground {
height: 100%;
width: 100%;
background-image: var(--brand-radial-gradient);
}
.dir-ltr.gradientBackground {
background-image: linear-gradient(to right, black 0%, white 50%, black 100%);
} |
Unfortunately, this library is no longer maintained. As a workaround, if you can modify manually the CSS rules, you can add the |
@fabercancio -- totally understand, thanks for responding! |
For example,
transforms to
So,
background
property overridesbackground-size
value.Bug is similar to the csso problem with structural optimizations css/csso#143
The text was updated successfully, but these errors were encountered: