Skip to content

Commit 622d150

Browse files
author
Ben Lerner
committed
style fix: make chart tooltips be theme-aware
counterpart to brownplt/pyret-lang@1d83d54
1 parent 9c18242 commit 622d150

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/web/css/editor.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,6 +1612,18 @@ code div {
16121612
#vg-tooltip-element {
16131613
z-index: 15100;
16141614
}
1615+
#vg-tooltip-element.visible {
1616+
font-size: inherit;
1617+
}
1618+
1619+
#vg-tooltip-element.visible table tr td.key {
1620+
color: var(--repl-output);
1621+
padding-top: 0.5em;
1622+
padding-right: 0.5em;
1623+
padding-bottom: 0.5em;
1624+
/* Note: not setting background color, so that we get clearer rows */
1625+
font-weight: var(--th-font-weight);
1626+
}
16151627

16161628
.ui-dialog-titlebar {
16171629
background-color: var(--ui-dialog-title-bg);

0 commit comments

Comments
 (0)