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:
James Cox
2026-04-22 17:26:43 -04:00
committed by Zach Yale
parent e46f87eb96
commit 7b9830faf5
81 changed files with 135 additions and 136 deletions
@@ -47,7 +47,7 @@
.layout-main-container {
margin-left: 0;
padding: 5rem 1.1rem 1.1rem 1.1rem;
padding: 5rem 1.1rem 1.1rem;
}
}
}
@@ -1,7 +1,7 @@
@use "variables";
h1, h2, h3, h4, h5, h6 {
margin: 1.5rem 0 1rem 0;
margin: 1.5rem 0 1rem;
font-family: inherit;
font-weight: 500;
line-height: 1.2;
@@ -51,12 +51,12 @@ blockquote {
hr {
border-top: solid var(--surface-border);
border-width: 1px 0 0 0;
border-width: 1px 0 0;
margin: 1rem 0;
}
p {
margin: 0 0 1rem 0;
margin: 0 0 1rem;
line-height: 1.5;
&:last-child {