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;
|
display: -webkit-box;
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
word-break: break-word;
|
overflow-wrap: anywhere;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@
|
|||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
margin-top: 2.5rem;
|
margin-top: 2.5rem;
|
||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
word-break: break-word;
|
overflow-wrap: anywhere;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
+1
-1
@@ -162,7 +162,7 @@
|
|||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-break: break-word;
|
overflow-wrap: anywhere;
|
||||||
max-height: 50vh;
|
max-height: 50vh;
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
|
|||||||
@@ -296,7 +296,7 @@
|
|||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1.55;
|
line-height: 1.55;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-break: break-word;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-note {
|
.entry-note {
|
||||||
|
|||||||
+1
-1
@@ -241,7 +241,7 @@ $transition-normal: 200ms ease;
|
|||||||
.value {
|
.value {
|
||||||
color: $text-primary;
|
color: $text-primary;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
word-break: break-word;
|
overflow-wrap: anywhere;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
|
||||||
&.file-name {
|
&.file-name {
|
||||||
|
|||||||
@@ -106,7 +106,7 @@
|
|||||||
|
|
||||||
&.expanded {
|
&.expanded {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
word-break: break-word;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -368,7 +368,7 @@
|
|||||||
color: var(--p-text-color);
|
color: var(--p-text-color);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
word-break: break-word;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -223,7 +223,7 @@
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
font-size: 0.9375rem;
|
font-size: 0.9375rem;
|
||||||
word-break: break-word;
|
overflow-wrap: anywhere;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -225,7 +225,7 @@
|
|||||||
.detail-value {
|
.detail-value {
|
||||||
font-size: settings.$settings-section-description-size;
|
font-size: settings.$settings-section-description-size;
|
||||||
color: var(--p-text-color);
|
color: var(--p-text-color);
|
||||||
word-break: break-word;
|
overflow-wrap: anywhere;
|
||||||
|
|
||||||
&.password-hidden {
|
&.password-hidden {
|
||||||
color: var(--p-text-muted-color);
|
color: var(--p-text-muted-color);
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ module.exports = {
|
|||||||
ignoreFiles: ["dist/**", "node_modules/**"],
|
ignoreFiles: ["dist/**", "node_modules/**"],
|
||||||
rules: {
|
rules: {
|
||||||
"declaration-block-single-line-max-declarations": null,
|
"declaration-block-single-line-max-declarations": null,
|
||||||
"declaration-property-value-keyword-no-deprecated": null,
|
|
||||||
"keyframes-name-pattern": null,
|
"keyframes-name-pattern": null,
|
||||||
"no-descending-specificity": null,
|
"no-descending-specificity": null,
|
||||||
"no-invalid-position-declaration": null,
|
"no-invalid-position-declaration": null,
|
||||||
|
|||||||
Reference in New Issue
Block a user