Spaces:
Running
Running
Update ui_generators.py
Browse files- 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
|
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 |
|