style(frontend): enforce declaration-property-value-keyword-no-deprecated

- Stylelint:
  - re-enable `declaration-property-value-keyword-no-deprecated` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
  - replace deprecated `word-break: break-word` usage with `overflow-wrap: anywhere` in the affected frontend stylesheets
- Validation:
  - `just ui stylelint`
This commit is contained in:
James Cox
2026-04-22 17:26:45 -04:00
committed by Zach Yale
parent 43412c0d29
commit 1a6588432c
10 changed files with 9 additions and 10 deletions
@@ -166,7 +166,7 @@
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
word-break: break-word;
overflow-wrap: anywhere;
margin: 0;
}
@@ -44,7 +44,7 @@
margin-bottom: 1.5rem;
margin-top: 2.5rem;
font-size: 0.95rem;
word-break: break-word;
overflow-wrap: anywhere;
overflow-wrap: break-word;
line-height: 1.4;
display: flex;
@@ -162,7 +162,7 @@
color: var(--text-color);
overflow: auto;
white-space: pre-wrap;
word-break: break-word;
overflow-wrap: anywhere;
max-height: 50vh;
&::-webkit-scrollbar {
@@ -296,7 +296,7 @@
font-size: 0.875rem;
line-height: 1.55;
white-space: pre-wrap;
word-break: break-word;
overflow-wrap: anywhere;
}
.entry-note {
@@ -241,7 +241,7 @@ $transition-normal: 200ms ease;
.value {
color: $text-primary;
font-size: 13px;
word-break: break-word;
overflow-wrap: anywhere;
line-height: 1.5;
&.file-name {
@@ -106,7 +106,7 @@
&.expanded {
white-space: normal;
word-break: break-word;
overflow-wrap: anywhere;
}
}
@@ -368,7 +368,7 @@
color: var(--p-text-color);
font-weight: 500;
text-align: right;
word-break: break-word;
overflow-wrap: anywhere;
}
}
}
@@ -223,7 +223,7 @@
font-weight: 600;
color: var(--text-color);
font-size: 0.9375rem;
word-break: break-word;
overflow-wrap: anywhere;
overflow-wrap: break-word;
}
@@ -225,7 +225,7 @@
.detail-value {
font-size: settings.$settings-section-description-size;
color: var(--p-text-color);
word-break: break-word;
overflow-wrap: anywhere;
&.password-hidden {
color: var(--p-text-muted-color);
-1
View File
@@ -3,7 +3,6 @@ module.exports = {
ignoreFiles: ["dist/**", "node_modules/**"],
rules: {
"declaration-block-single-line-max-declarations": null,
"declaration-property-value-keyword-no-deprecated": null,
"keyframes-name-pattern": null,
"no-descending-specificity": null,
"no-invalid-position-declaration": null,