Skip to content

Commit ef2a22c

Browse files
hfactor13Copilot
andauthored
Update _ext/translation_graph.py
Used CSS variable instead of hardcoded "white" value. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e20f92c commit ef2a22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_ext/translation_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def run(self):
146146
fig.update_layout(
147147
paper_bgcolor="rgba(0,0,0,0)",
148148
plot_bgcolor="rgba(0,0,0,0)",
149-
hoverlabel_bgcolor="white",
149+
hoverlabel_bgcolor="var(--bs-body-bg)",
150150
hoverlabel_font_color="black",
151151
font_color="var(--bs-body-color)",
152152
margin=dict(l=40, r=40, t=40, b=40),

0 commit comments

Comments
 (0)