Skip to content

Commit

Permalink
Achieve more consistent view of tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
ainzzorl committed Jul 16, 2021
1 parent cf38b85 commit 4df66c8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion css/wordhighlighter.css
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,20 @@
}

.highlighted-word .highlighted-word-tooltip p {
font : initial !important;
font-family : initial !important;
font-variant : initial !important;
font-size: 16px !important;
font-style: normal !important;
font-weight: normal !important;
letter-spacing: initial !important;

/* But not margin-left: it's used to position the tooltip. */
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;

background-color: black;
text-align: center;
padding-top: 0px;
color: #fff !important;
width: initial;
Expand Down

0 comments on commit 4df66c8

Please sign in to comment.