Pointf5ive commited on
Commit
e8eab9b
·
1 Parent(s): 78b39e3

Ensure Gradio tab bar stays clickable above dashboard overlays

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -71,7 +71,17 @@ CSS = """
71
 
72
  footer { display: none !important; }
73
 
74
- /* Keep native Gradio tab behavior for reliability across Gradio 6 updates. */
 
 
 
 
 
 
 
 
 
 
75
 
76
  .nav-item[role="button"] {
77
  cursor: pointer;
 
71
 
72
  footer { display: none !important; }
73
 
74
+ /* Keep native Gradio tab behavior, but force tab bar above rich dashboard overlays. */
75
+ .gradio-container [role="tablist"] {
76
+ position: sticky !important;
77
+ top: 0 !important;
78
+ z-index: 9999 !important;
79
+ background: #fffaf0 !important;
80
+ }
81
+
82
+ .gradio-container [role="tab"] {
83
+ pointer-events: auto !important;
84
+ }
85
 
86
  .nav-item[role="button"] {
87
  cursor: pointer;