Skip to content

Commit

Permalink
style: 优化段落 hover 区域
Browse files Browse the repository at this point in the history
  • Loading branch information
ikkz authored and Enter-tainer committed Sep 26, 2024
1 parent c7147e5 commit a4aeb25
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions frontend/lib/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,19 @@
cursor: pointer;
}

[data-review-enabled] {
position: relative;
&::after {
content: "";
position: absolute;
top: 30px;
left: 100%;
width: 30px;
height: calc(100% - 30px);
clip-path: polygon(0 0, 0 100%, 100% 0);
}
}

*:has(> .review-context-menu) {
position: relative;
}
Expand Down

0 comments on commit a4aeb25

Please sign in to comment.