style(frontend): enforce media-feature-range-notation in scss
- Stylelint: - re-enable `media-feature-range-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions untouched - SCSS: - convert parenthesized `min-` and `max-` media features to context range notation across frontend stylesheets without changing breakpoint values - Validation: - `just ui stylelint`
This commit is contained in:
+5
-5
@@ -14,7 +14,7 @@
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
|
||||
@media (max-width: 767px) {
|
||||
@media (width <= 767px) {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
padding-bottom: 0.75rem;
|
||||
border-bottom: 1px dashed var(--p-content-border-color);
|
||||
|
||||
@media (max-width: 767px) {
|
||||
@media (width <= 767px) {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 0.75rem;
|
||||
@@ -168,7 +168,7 @@
|
||||
gap: 0.5rem;
|
||||
flex-shrink: 0;
|
||||
|
||||
@media (max-width: 767px) {
|
||||
@media (width <= 767px) {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
@@ -185,7 +185,7 @@
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 1rem;
|
||||
|
||||
@media (max-width: 767px) {
|
||||
@media (width <= 767px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
@@ -198,7 +198,7 @@
|
||||
&.detail-item-wide {
|
||||
grid-column: span 2;
|
||||
|
||||
@media (max-width: 767px) {
|
||||
@media (width <= 767px) {
|
||||
grid-column: span 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user