style(frontend): enforce shorthand-property-no-redundant-values in scss
- Stylelint: - re-enable `shorthand-property-no-redundant-values` in the frontend Stylelint config while leaving the agreed Angular and legacy Sass exceptions intact - SCSS: - collapse redundant shorthand values across frontend stylesheets without changing computed spacing or sizing - Validation: - `just ui stylelint`
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@
|
||||
font-size: settings.$settings-section-title-size;
|
||||
font-weight: settings.$settings-section-title-weight;
|
||||
color: var(--p-text-color);
|
||||
margin: 0 0 0.5rem 0;
|
||||
margin: 0 0 0.5rem;
|
||||
padding-bottom: 0.75rem;
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
|
||||
}
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
|
||||
.section-title {
|
||||
@include settings.settings-section-title;
|
||||
margin: 0 0 0.5rem 0;
|
||||
margin: 0 0 0.5rem;
|
||||
}
|
||||
|
||||
.section-description {
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
font-size: 1.125rem;
|
||||
font-weight: 600;
|
||||
color: var(--p-text-color);
|
||||
margin: 0 0 0.5rem 0;
|
||||
margin: 0 0 0.5rem;
|
||||
|
||||
.pi {
|
||||
color: var(--p-primary-color);
|
||||
|
||||
Reference in New Issue
Block a user