Spaces:
Running
Running
Update ui_generators.py
Browse files- ui_generators.py +1 -1
ui_generators.py
CHANGED
@@ -337,7 +337,7 @@ def create_analytics_plot_panel(plot_label_str, plot_id_str):
|
|
337 |
|
338 |
with gr.Column(visible=True) as panel_component: # Main container for this plot
|
339 |
with gr.Row(variant="compact"):
|
340 |
-
gr.Markdown(f"#### {plot_label_str}"
|
341 |
with gr.Row(elem_classes="plot-actions", scale=1, min_width=150): # Action buttons container, give it some min_width
|
342 |
bomb_button = gr.Button(value=local_bomb_icon, variant="secondary", size="sm", min_width=30, elem_id=f"bomb_btn_{plot_id_str}")
|
343 |
formula_button = gr.Button(value=local_formula_icon, variant="secondary", size="sm", min_width=30, elem_id=f"formula_btn_{plot_id_str}")
|
|
|
337 |
|
338 |
with gr.Column(visible=True) as panel_component: # Main container for this plot
|
339 |
with gr.Row(variant="compact"):
|
340 |
+
gr.Markdown(f"#### {plot_label_str}") # Plot title (scale might help balance)
|
341 |
with gr.Row(elem_classes="plot-actions", scale=1, min_width=150): # Action buttons container, give it some min_width
|
342 |
bomb_button = gr.Button(value=local_bomb_icon, variant="secondary", size="sm", min_width=30, elem_id=f"bomb_btn_{plot_id_str}")
|
343 |
formula_button = gr.Button(value=local_formula_icon, variant="secondary", size="sm", min_width=30, elem_id=f"formula_btn_{plot_id_str}")
|