Skip to content

Commit 06e3333

Browse files
committed
style: Explicitly set option_menu container to transparent to fix White Box regression
1 parent 8711f0a commit 06e3333

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/components/sidebar.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ def toggle_sidebar():
246246
styles={
247247
"container": {
248248
"padding": "0",
249-
"background-color": "transparent",
249+
"background-color": "transparent", /* Fix White Box */
250+
"border-radius": "0px"
250251
},
251252
"icon": {
252253
"color": "#64748B",
@@ -260,7 +261,7 @@ def toggle_sidebar():
260261
"border-radius": "8px",
261262
"color": "#94A3B8",
262263
"font-weight": "500",
263-
"background": "transparent",
264+
"background": "transparent", /* Ensure link bg is transparent */
264265
},
265266
"nav-link-selected": {
266267
"background": "linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05))",

0 commit comments

Comments
 (0)