Skip to content

Commit b3892d9

Browse files
authored
Style mermaid tooltips (#639)
1 parent 988bcb9 commit b3892d9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

assets/theme-css/styles.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,18 @@ a.headerlink {
183183
margin-top: -0.5rem;
184184
}
185185

186+
.mermaidTooltip {
187+
position: absolute;
188+
text-align: center;
189+
max-width: 200px;
190+
padding: 2px;
191+
font-size: 80%;
192+
background: var(--pst-color-on-background);
193+
border: 1px solid var(--pst-color-border);
194+
pointer-events: none;
195+
z-index: 100;
196+
}
197+
186198
/* Local Variables: */
187199
/* css-indent-offset: 2 */
188200
/* End: */

0 commit comments

Comments
 (0)