fix: improve bulk delete dialog styling and responsive layout
All checks were successful
Build MIPS Binary / build (push) Successful in 1m54s

This commit is contained in:
spinline
2026-02-12 23:17:40 +03:00
parent 89ad42f24d
commit f149603ac8

View File

@@ -256,24 +256,26 @@ pub fn TorrentTable() -> impl IntoView {
</div> </div>
</AlertDialogDescription> </AlertDialogDescription>
</AlertDialogHeader> </AlertDialogHeader>
<AlertDialogFooter class="gap-2 sm:gap-0"> <AlertDialogFooter>
<div class="flex flex-col sm:flex-row gap-2 w-full justify-end"> <div class="flex flex-col-reverse sm:flex-row gap-2 w-full sm:justify-end mt-4 sm:mt-0">
<AlertDialogClose class="order-3 sm:order-1">"Vazgeç"</AlertDialogClose> <AlertDialogClose class="w-full sm:w-auto">"Vazgeç"</AlertDialogClose>
<div class="flex flex-col sm:flex-row gap-2">
<Button <Button
variant=ButtonVariant::Outline variant=ButtonVariant::Outline
class="order-2 text-foreground" class="w-full sm:w-auto text-foreground"
on:click=move |_| bulk_action("delete") on:click=move |_| bulk_action("delete")
> >
"Sadece Listeden Sil" "Sadece Listeden Sil"
</Button> </Button>
<Button <Button
variant=ButtonVariant::Destructive variant=ButtonVariant::Destructive
class="order-1" class="w-full sm:w-auto"
on:click=move |_| bulk_action("delete_with_data") on:click=move |_| bulk_action("delete_with_data")
> >
"Verilerle Birlikte Sil" "Verilerle Birlikte Sil"
</Button> </Button>
</div> </div>
</div>
</AlertDialogFooter> </AlertDialogFooter>
</AlertDialogContent> </AlertDialogContent>
</AlertDialog> </AlertDialog>