GuglielmoTor commited on
Commit
29d17df
·
verified ·
1 Parent(s): a97d1d2

Update ui_generators.py

Browse files
Files changed (1) hide show
  1. ui_generators.py +1 -1
ui_generators.py CHANGED
@@ -338,7 +338,7 @@ def create_analytics_plot_panel(plot_label_str, plot_id_str):
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}")
344
  explore_button = gr.Button(value=local_explore_icon, variant="secondary", size="sm", min_width=30, elem_id=f"explore_btn_{plot_id_str}")
 
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): # 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}")
344
  explore_button = gr.Button(value=local_explore_icon, variant="secondary", size="sm", min_width=30, elem_id=f"explore_btn_{plot_id_str}")