Skip to content

Commit

Permalink
fix: block hovering selector fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Jul 28, 2021
1 parent 9fd9f75 commit 9313735
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,22 @@ a:hover > .bullet-container .bullet {
transform: scale(1);
}

.block-content {
& > span > span > [id] {
.block-content-wrapper > div > .block-content {
& > span > span > :first-of-type {
position: relative;
}

& > span > span > [id]::before {
content: '';
display: block;
position: absolute;
width: 4px;
height: 40%;
top: 30%;
left: -8px;
&::before {
content: '';
display: block;
position: absolute;
width: 4px;
height: 12px;
top: calc(50% - 6px);
left: -8px;
}
}

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

0 comments on commit 9313735

Please sign in to comment.