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 Sass nested selector deprecation warnings in bootstrap 4.6.2 #186

Open
jxjj opened this issue Aug 20, 2024 · 0 comments
Open

Fix Sass nested selector deprecation warnings in bootstrap 4.6.2 #186

jxjj opened this issue Aug 20, 2024 · 0 comments

Comments

@jxjj
Copy link
Contributor

jxjj commented Aug 20, 2024

More info: https://sass-lang.com/d/mixed-decls. They all look related to bootstrap 4, so it might be easiest to bump to latest bootstrap.

Example:

Deprecation Warning: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls

   ┌──> node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/bootstrap/scss/_custom-forms.scss
415│       appearance: none;
   │       ^^^^^^^^^^^^^^^^ declaration
   ╵
   ┌──> node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/bootstrap/scss/mixins/_transition.scss
21 │ ┌       @media (prefers-reduced-motion: reduce) {
22 │ │         transition: none;
23 │ │       }
   │ └─── nested rule
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

1 participant