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:
@@ -9,7 +9,7 @@
|
||||
// =============================================================================
|
||||
|
||||
.p-dialog {
|
||||
@media (max-width: 768px) {
|
||||
@media (width <= 768px) {
|
||||
width: 95vw !important;
|
||||
max-width: 95vw !important;
|
||||
max-height: 95dvh !important;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@use "variables";
|
||||
|
||||
@media screen and (min-width: 1960px) {
|
||||
@media screen and (width >= 1960px) {
|
||||
.layout-main {
|
||||
width: 100%;
|
||||
margin-left: auto !important;
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
@media (width >= 992px) {
|
||||
.layout-wrapper {
|
||||
&.layout-overlay {
|
||||
.layout-main-container {
|
||||
@@ -58,7 +58,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
@media (width <= 991px) {
|
||||
.blocked-scroll {
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -101,7 +101,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@media (width <= 768px) {
|
||||
.layout-wrapper {
|
||||
.layout-main-container {
|
||||
padding: 4.4rem 0 0;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
@media (width <= 991px) {
|
||||
.layout-topbar {
|
||||
.layout-topbar-logo {
|
||||
display: none;
|
||||
|
||||
Reference in New Issue
Block a user