Skip to content

Commit

Permalink
SCSS lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Dec 13, 2023
1 parent 56e9978 commit 3b1077b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 33 deletions.
2 changes: 1 addition & 1 deletion scss/modules/field.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@media all and (min-width: 560px) {
@media all and (width >= 560px) {
.node .field--type-image {
float: unset;
}
Expand Down
5 changes: 1 addition & 4 deletions scss/modules/impactstories.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,12 @@

.field--name-field-header-image {
img {
bottom: 0;
left: 0;
inset: 0;
margin: auto;
min-height: 100%;
min-width: 100%;
object-fit: cover;
position: absolute;
right: 0;
top: 0;
z-index: 0;
}
}
Expand Down
18 changes: 6 additions & 12 deletions scss/modules/lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,12 @@
}

.content_link {
bottom: 0;
inset: 0;
float: left;
height: 100%;
left: 0;
margin: auto;
position: absolute;
right: 0;
text-indent: -9999px;
top: 0;
width: 100%;
}

Expand Down Expand Up @@ -566,7 +563,7 @@ div.node--type-news {

@media (min-width: #{$screen-tablet}) {
border-bottom: 0;
padding: 0 0;
padding: 0;
}

&:first-child {
Expand Down Expand Up @@ -807,15 +804,12 @@ div.node--type-news {
}

.content_link {
bottom: 0;
inset: 0;
float: left;
height: 100%;
left: 0;
margin: auto;
position: absolute;
right: 0;
text-indent: -9999px;
top: 0;
width: 100%;
}

Expand Down Expand Up @@ -901,9 +895,9 @@ div.node--type-news {
width: 160px;

@media only screen
and (min-width: 320px)
and (max-device-width: 374px)
and (min-resolution: 2dppx) {
and (width >= 320px)
and (device-width <= 374px)
and (resolution >= 2dppx) {
width: 140px;
}

Expand Down
10 changes: 2 additions & 8 deletions scss/modules/paragraphs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -298,15 +298,12 @@

.field--name-field-bg-image {
img {
bottom: 0;
left: 0;
inset: 0;
margin: auto;
min-height: 100%;
min-width: 100%;
object-fit: cover;
position: absolute;
right: 0;
top: 0;
z-index: 0;
}

Expand Down Expand Up @@ -438,15 +435,12 @@

.field--name-field-bg-image {
img {
bottom: 0;
left: 0;
inset: 0;
margin: auto;
min-height: 100%;
min-width: 100%;
object-fit: cover;
position: absolute;
right: 0;
top: 0;
z-index: 0;
}

Expand Down
10 changes: 2 additions & 8 deletions scss/modules/resources.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,12 @@

.field--name-field-link {
a {
bottom: 0;
inset: 0;
float: left;
height: 100%;
left: 0;
margin: auto;
position: absolute;
right: 0;
text-indent: -9999px;
top: 0;
width: 100%;
z-index: 1;
}
Expand Down Expand Up @@ -202,15 +199,12 @@
.more-link,
.content-link {
a {
bottom: 0;
inset: 0;
float: left;
height: 100%;
left: 0;
margin: auto;
position: absolute;
right: 0;
text-indent: -9999px;
top: 0;
width: 100%;
z-index: 1;
}
Expand Down

0 comments on commit 3b1077b

Please sign in to comment.