Skip to content

Commit

Permalink
fix: scss/selector-no-redundant-nesting-selector
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Sep 17, 2020
1 parent 102c681 commit 789be2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layouts/css/page-modules/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
opacity: .85;
}

& > img {
> img {
border-radius: 2px;
}
}
Expand Down
4 changes: 2 additions & 2 deletions layouts/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ article a {
font-size: inherit;
margin-bottom: 15px;

& + p {
+ p {
margin-top: 0;
}
}
Expand Down Expand Up @@ -132,7 +132,7 @@ a:hover .color-lightgray {
border-radius: 2px;
margin-top: 1em;

& *:first-child {
*:first-child {
margin-top: .5rem;
}
}
Expand Down

0 comments on commit 789be2d

Please sign in to comment.