Skip to content

Commit

Permalink
fix: use first-child instead
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Jul 28, 2021
1 parent 0283f90 commit a86eec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ a:hover > .bullet-container .bullet {
}

.block-content-wrapper > div > .block-content {
& > span > span > :first-of-type {
& > span > span > :first-child {
position: relative;

&::before {
Expand All @@ -104,7 +104,7 @@ a:hover > .bullet-container .bullet {
}
}

&:hover > span > span > :first-of-type::before {
&:hover > span > span > :first-child::before {
background: var(--ct-primary-color);
}
}
Expand Down

0 comments on commit a86eec4

Please sign in to comment.