Fix SCSS linting issues (#2207)

* Disable font-family-no-missing-generic-family-keyword for font-awesome accessibility icons

* Run stylelint --fix

* Avoid `@extend` directives with doodle modal CSS

* Drop use of `@extend` for notification cleanup buttons SCSS

* Run prettier on SCSS
This commit is contained in:
Claire
2023-05-07 15:04:59 +02:00
committed by GitHub
parent a6207d243b
commit 6f64c79ca4
31 changed files with 88 additions and 90 deletions

View File

@ -115,7 +115,7 @@
text-align: center;
}
@media screen and (max-width: 550px) {
@media screen and (width <= 550px) {
.onboarding-modal {
width: 100%;
height: 100%;
@ -382,7 +382,7 @@
}
}
@media screen and (max-width: 320px) and (max-height: 600px) {
@media screen and (width <= 320px) and (height <= 600px) {
.onboarding-modal__page p {
font-size: 14px;
line-height: 20px;
@ -413,6 +413,7 @@
margin-inline-start: 10px;
}
.doodle-modal,
.boost-modal,
.confirmation-modal,
.report-modal,
@ -485,6 +486,7 @@
}
}
.doodle-modal__action-bar,
.boost-modal__action-bar,
.confirmation-modal__action-bar,
.mute-modal__action-bar,
@ -560,7 +562,7 @@
font-weight: 700;
margin-bottom: 15px;
@media screen and (max-height: 800px) {
@media screen and (height <= 800px) {
font-size: 22px;
}
}
@ -747,7 +749,7 @@
display: flex;
border-top: 1px solid $ui-secondary-color;
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
flex-wrap: wrap;
overflow-y: auto;
}
@ -758,7 +760,7 @@
box-sizing: border-box;
width: 50%;
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
width: 100%;
}
}
@ -775,13 +777,13 @@
color: $highlight-text-color;
}
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
max-height: 10vh;
}
}
.focal-point-modal__content {
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
max-height: 40vh;
}
}
@ -877,7 +879,7 @@
}
}
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
padding: 10px;
max-width: 100%;
order: 2;
@ -1152,7 +1154,7 @@
background: lighten($ui-base-color, 4%);
}
@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
font-size: 16px;
}
}
@ -1233,7 +1235,7 @@
}
}
@media screen and (max-width: 480px) {
@media screen and (width <= 480px) {
img,
video {
max-height: 100%;