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:
@@ -701,7 +701,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
}
|
||||
|
||||
// Responsive adjustments
|
||||
@media (max-width: 768px) {
|
||||
@media (width <= 768px) {
|
||||
.reader-main {
|
||||
padding: 1rem;
|
||||
gap: 1rem;
|
||||
@@ -741,7 +741,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
@media (width <= 480px) {
|
||||
.cover-container {
|
||||
max-width: min(300px, 30vh);
|
||||
}
|
||||
@@ -774,7 +774,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
}
|
||||
|
||||
// Landscape mode optimization
|
||||
@media (max-height: 600px) and (orientation: landscape) {
|
||||
@media (height <= 600px) and (orientation: landscape) {
|
||||
.reader-main {
|
||||
flex-flow: row wrap;
|
||||
justify-content: center;
|
||||
|
||||
Reference in New Issue
Block a user