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

fix(modules): correctly add css prefixes for nested at-rules #172

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

heymdall-legal
Copy link
Collaborator

Исправляет некорректные префиксы для некоторых кейсов вложенных css правил

Например ранее для такого:

.primary {
    &.leftBorder {
        @media (--desktop-m) {
            &:before {
                border-right: 1px solid var(--color-light-border-underline);
            }
        }
    }
}

генерилось такое:

@media (min-width: 1280px){
    .module-ModuleCompat .module-ModuleCompat .primary.leftBorder:before{
        border-right:1px solid #c5c5c7;
    }
}

Теперь префикс добавляется только один раз.

Copy link

changeset-bot bot commented Dec 12, 2023

🦋 Changeset detected

Latest commit: f8960f0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
arui-scripts Patch
example-modules Patch
example Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@heymdall-legal heymdall-legal merged commit fc4d602 into master Dec 12, 2023
4 checks passed
@core-ds-bot core-ds-bot mentioned this pull request Dec 12, 2023
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

Successfully merging this pull request may close these issues.

3 participants