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
@@ -24,7 +24,7 @@
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
margin: 0 0 0.5rem 0;
|
||||
margin: 0 0 0.5rem;
|
||||
|
||||
.pi {
|
||||
color: var(--primary-color);
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@
|
||||
color: var(--p-text-muted-color);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.025em;
|
||||
margin: 0 0 0.25rem 0;
|
||||
margin: 0 0 0.25rem;
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
|
||||
Reference in New Issue
Block a user