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

missing css #43

Closed
shangcloud opened this issue Feb 7, 2023 · 1 comment
Closed

missing css #43

shangcloud opened this issue Feb 7, 2023 · 1 comment
Assignees

Comments

@shangcloud
Copy link

shangcloud commented Feb 7, 2023

we use this library in our project, but find missing some style, the css selector is like this:

.downloads-1u5ev.downloadsFallback-1btP7 .logo-2Dv5-,.downloads-1u5ev.downloadsV5-3wG0y .logo-2Dv5- {
    margin-left: .08rem;
    position: relative;
    width: .5rem;
    height: .5rem
}
<div class="downloads-1u5ev downloadsV5-3wG0y"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" class="logo-2Dv5-" role="img" fill="#fb7701" stroke="none" stroke-width="18.962962962962962" preserveAspectRatio="none"></svg></div>

could you fix this problem?

@theKashey theKashey self-assigned this Feb 7, 2023
theKashey added a commit that referenced this issue Feb 21, 2023
fix: correct support for multiple classes, fixes #43
@theKashey
Copy link
Owner

Thank you for the issue. It was a false-negative regression introduced during critical CSS reduction. Basically, classes nested on "double parents" were not supported at all, and there was no test ensuring the correct behavior.

Give a shot to used-styles@2.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants