Skip to content

Commit 789be2d

Browse files
committed
fix: scss/selector-no-redundant-nesting-selector
1 parent 102c681 commit 789be2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

layouts/css/page-modules/_home.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
opacity: .85;
5656
}
5757

58-
& > img {
58+
> img {
5959
border-radius: 2px;
6060
}
6161
}

layouts/css/styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ article a {
3838
font-size: inherit;
3939
margin-bottom: 15px;
4040

41-
& + p {
41+
+ p {
4242
margin-top: 0;
4343
}
4444
}
@@ -132,7 +132,7 @@ a:hover .color-lightgray {
132132
border-radius: 2px;
133133
margin-top: 1em;
134134

135-
& *:first-child {
135+
*:first-child {
136136
margin-top: .5rem;
137137
}
138138
}

0 commit comments

Comments
 (0)