Skip to content

Commit

Permalink
feat: add hovering block underline
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Jul 27, 2021
1 parent ee5fe17 commit 4e1824e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,24 @@ a:hover > .bullet-container .bullet {
transform: scale(1);
}

.block-content {
cursor: text;
}

.block-content::after {
content: '';
display: block;
position: absolute;
height: 2px;
bottom: 0;
left: 0;
right: 0;
}

.block-content:hover::after {
background: var(--ct-block-reference-background);
}

/*************************
* Editing block threading
*************************/
Expand Down

0 comments on commit 4e1824e

Please sign in to comment.