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:
+7
-7
@@ -6,7 +6,7 @@
|
||||
min-width: 700px;
|
||||
max-height: 90vh;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@media (width <= 768px) {
|
||||
min-width: auto;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -28,7 +28,7 @@
|
||||
overflow-y: auto;
|
||||
max-height: calc(90vh - 200px);
|
||||
|
||||
@media (max-width: 480px) {
|
||||
@media (width <= 480px) {
|
||||
padding: 0.75rem;
|
||||
gap: 0.375rem;
|
||||
}
|
||||
@@ -38,7 +38,7 @@
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
|
||||
@media (max-width: 640px) {
|
||||
@media (width <= 640px) {
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
@@ -61,7 +61,7 @@
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
@media (width <= 480px) {
|
||||
gap: 0.25rem;
|
||||
|
||||
&.highlight-group {
|
||||
@@ -87,7 +87,7 @@
|
||||
margin-left: 0.125rem;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
@media (width <= 480px) {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
}
|
||||
@@ -121,7 +121,7 @@
|
||||
gap: 1rem;
|
||||
align-items: flex-start;
|
||||
|
||||
@media (max-width: 640px) {
|
||||
@media (width <= 640px) {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -147,7 +147,7 @@
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
@media (width <= 640px) {
|
||||
img {
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user