GuglielmoTor commited on
Commit
3c03ffc
·
verified ·
1 Parent(s): 6a8e128

Update ui_generators.py

Browse files
Files changed (1) hide show
  1. ui_generators.py +1 -1
ui_generators.py CHANGED
@@ -318,7 +318,7 @@ def create_analytics_plot_panel(label, plot_id_str):
318
  with gr.Row(equal_height=False, variant="panel"): # A sub-row for plot and button
319
  with gr.Column(scale=8): # Adjust scale as needed for plot vs button
320
  plot_component = gr.Plot(label=label)
321
- with gr.Column(scale=2, min_width=70, vertical_alignment="center"): # min_width for button, try to center vertically
322
  bomb_button = gr.Button("💣", variant="secondary", size="sm", elem_id=f"bomb_{plot_id_str}")
323
  return panel_col, plot_component, bomb_button
324
 
 
318
  with gr.Row(equal_height=False, variant="panel"): # A sub-row for plot and button
319
  with gr.Column(scale=8): # Adjust scale as needed for plot vs button
320
  plot_component = gr.Plot(label=label)
321
+ with gr.Column(scale=2, min_width=70): # Removed vertical_alignment
322
  bomb_button = gr.Button("💣", variant="secondary", size="sm", elem_id=f"bomb_{plot_id_str}")
323
  return panel_col, plot_component, bomb_button
324