Refactor styles to match new CSS nesting behavior

This commit refactors SCSS to resolve deprecation warnings related to
mixed declaration after nested rules.

Sass is changing how it processes declarations that appear after nested
rules to align with CSS standards. Previously, Sass would hoist
declarations to avoid duplicating selectors, However, this behavior will
soon change to make declarations apply in the order they appear, as per
CSS standards.
This commit is contained in:
undergroundwires
2024-07-20 11:56:31 +02:00
parent dd7239b8c1
commit abe03cef3f
10 changed files with 43 additions and 28 deletions

View File

@@ -110,8 +110,9 @@ export default defineComponent({
@include apply-icon-color($color-danger);
}
.recommendation {
align-items: center;
@include horizontal-stack;
@include apply-icon-color($color-caution);
align-items: center;
}
</style>