mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
fix(ui): stack automation modal footer on mobile (#27027)
The automation create/edit modal footer laid the schedule/model dropdowns and the Cancel/Create actions in a single justify-between row. On narrow modals the fixed-width actions left too little room for the dropdowns, which wrapped to two stacked lines with Cancel squeezed in the middle. Stack the footer vertically on mobile (dropdowns row, then a right-aligned actions row) and restore the horizontal layout at sm and up. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
db92ef292f
commit
86bf927d08
1 changed files with 5 additions and 3 deletions
|
|
@ -138,14 +138,16 @@
|
|||
</div>
|
||||
|
||||
<!-- Bottom toolbar -->
|
||||
<div class="flex items-center justify-between px-4 pb-3.5 pt-1 gap-2">
|
||||
<div class="flex items-center gap-0.5 flex-wrap flex-1 min-w-0">
|
||||
<div
|
||||
class="flex flex-col sm:flex-row sm:items-center sm:justify-between px-4 pb-3.5 pt-1 gap-2"
|
||||
>
|
||||
<div class="flex items-center gap-0.5 flex-wrap min-w-0 sm:flex-1">
|
||||
<ScheduleDropdown bind:this={scheduleDropdown} side="top" align="start" />
|
||||
|
||||
<ModelDropdown bind:model_id side="top" align="start" />
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-2 shrink-0">
|
||||
<div class="flex items-center justify-end gap-2 shrink-0">
|
||||
<button
|
||||
class="px-3 py-1 text-xs text-gray-500 hover:text-gray-700 dark:hover:text-gray-200 transition"
|
||||
type="button"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue