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:
+1
-1
@@ -166,7 +166,7 @@
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
word-break: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user