Skip to content

Commit 041e121

Browse files
EZoniRevathiJambunathan
authored andcommitted
Fix alignment of components in parameters control panel (BLAST-AI-ML#355)
1 parent c617908 commit 041e121

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

dashboard/parameters_manager.py

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -227,24 +227,25 @@ def panel(self):
227227
change="flushState('parameters_show_all')",
228228
label="Show all",
229229
)
230-
with vuetify.VRow():
231-
with vuetify.VCol():
232-
vuetify.VBtn(
233-
"Reset",
234-
click=self.reset,
235-
style="text-transform: none",
236-
)
237-
with vuetify.VRow():
238-
with vuetify.VCol():
239-
vuetify.VBtn(
240-
"Simulate",
241-
click=self.simulation_trigger,
242-
disabled=(
243-
"simulation_running || perlmutter_status != 'active' || !simulatable",
244-
),
245-
style="text-transform: none;",
246-
)
247-
with vuetify.VCol():
230+
with vuetify.VRow(align="center"):
231+
with vuetify.VCol(cols=6):
232+
with vuetify.VRow():
233+
with vuetify.VCol():
234+
vuetify.VBtn(
235+
"Reset",
236+
click=self.reset,
237+
style="text-transform: none",
238+
)
239+
with vuetify.VCol():
240+
vuetify.VBtn(
241+
"Simulate",
242+
click=self.simulation_trigger,
243+
disabled=(
244+
"simulation_running || perlmutter_status != 'active' || !simulatable",
245+
),
246+
style="text-transform: none;",
247+
)
248+
with vuetify.VCol(cols=6):
248249
vuetify.VTextField(
249250
v_model_number=("simulation_running_status",),
250251
label="Simulation status",

0 commit comments

Comments
 (0)