Skip to content

Commit

Permalink
Fix marker-hightlight for chrome browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
nanoparsec committed Nov 28, 2023
1 parent aea62f7 commit b2846a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/components/text/_text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@ p {

.marker-highlight {
position: relative;
display: inline-block;

&::before {
content: " ";

position: absolute;
z-index: -1;
top: 65%;
top: 70%;
left: 0;

width: 100%;
height: 20%;
height: 27%;

background-color: $brand-secondary;
}
Expand Down

0 comments on commit b2846a8

Please sign in to comment.