GuglielmoTor commited on
Commit
eaf20fd
·
verified ·
1 Parent(s): 9dbda83

Update ui_generators.py

Browse files
Files changed (1) hide show
  1. ui_generators.py +2 -1
ui_generators.py CHANGED
@@ -345,7 +345,8 @@ def create_analytics_plot_panel(plot_label_str, plot_id_str):
345
  with gr.Row(variant="compact"): # Removed vertical_align="center"
346
  # Removed scale=3 from gr.Markdown as it's not a valid argument
347
  gr.Markdown(f"#### {plot_label_str}") # Plot title
348
- with gr.Row(elem_classes="plot-actions", scale=1, min_width=120): # Action buttons container, adjust scale/min_width as needed
 
349
  bomb_button = gr.Button(value=BOMB_ICON, variant="secondary", size="sm", min_width=30, elem_id=f"bomb_btn_{plot_id_str}")
350
  formula_button = gr.Button(value=FORMULA_ICON, variant="secondary", size="sm", min_width=30, elem_id=f"formula_btn_{plot_id_str}")
351
  explore_button = gr.Button(value=EXPLORE_ICON, variant="secondary", size="sm", min_width=30, elem_id=f"explore_btn_{plot_id_str}")
 
345
  with gr.Row(variant="compact"): # Removed vertical_align="center"
346
  # Removed scale=3 from gr.Markdown as it's not a valid argument
347
  gr.Markdown(f"#### {plot_label_str}") # Plot title
348
+ # Removed min_width=120 from gr.Row as it's not a valid argument
349
+ with gr.Row(elem_classes="plot-actions", scale=1): # Action buttons container
350
  bomb_button = gr.Button(value=BOMB_ICON, variant="secondary", size="sm", min_width=30, elem_id=f"bomb_btn_{plot_id_str}")
351
  formula_button = gr.Button(value=FORMULA_ICON, variant="secondary", size="sm", min_width=30, elem_id=f"formula_btn_{plot_id_str}")
352
  explore_button = gr.Button(value=EXPLORE_ICON, variant="secondary", size="sm", min_width=30, elem_id=f"explore_btn_{plot_id_str}")