Spaces:
Running
Running
Update ui_generators.py
Browse files- ui_generators.py +1 -1
ui_generators.py
CHANGED
@@ -342,7 +342,7 @@ def create_analytics_plot_panel(plot_label_str, plot_id_str):
|
|
342 |
FORMULA_ICON = "ƒ"
|
343 |
|
344 |
with gr.Column(visible=True) as panel_component: # Main container for this plot
|
345 |
-
with gr.Row(variant="compact"
|
346 |
gr.Markdown(f"#### {plot_label_str}", scale=3) # Plot title, give it more space
|
347 |
with gr.Row(elem_classes="plot-actions", scale=1, min_width=120): # Action buttons container, adjust scale/min_width as needed
|
348 |
bomb_button = gr.Button(value=BOMB_ICON, variant="secondary", size="sm", min_width=30, elem_id=f"bomb_btn_{plot_id_str}")
|
|
|
342 |
FORMULA_ICON = "ƒ"
|
343 |
|
344 |
with gr.Column(visible=True) as panel_component: # Main container for this plot
|
345 |
+
with gr.Row(variant="compact"): # Removed vertical_align="center"
|
346 |
gr.Markdown(f"#### {plot_label_str}", scale=3) # Plot title, give it more space
|
347 |
with gr.Row(elem_classes="plot-actions", scale=1, min_width=120): # Action buttons container, adjust scale/min_width as needed
|
348 |
bomb_button = gr.Button(value=BOMB_ICON, variant="secondary", size="sm", min_width=30, elem_id=f"bomb_btn_{plot_id_str}")
|