fix: improve bulk delete dialog styling and responsive layout
All checks were successful
Build MIPS Binary / build (push) Successful in 1m54s
All checks were successful
Build MIPS Binary / build (push) Successful in 1m54s
This commit is contained in:
@@ -256,23 +256,25 @@ 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>
|
||||||
<Button
|
<div class="flex flex-col sm:flex-row gap-2">
|
||||||
variant=ButtonVariant::Outline
|
<Button
|
||||||
class="order-2 text-foreground"
|
variant=ButtonVariant::Outline
|
||||||
on:click=move |_| bulk_action("delete")
|
class="w-full sm:w-auto text-foreground"
|
||||||
>
|
on:click=move |_| bulk_action("delete")
|
||||||
"Sadece Listeden Sil"
|
>
|
||||||
</Button>
|
"Sadece Listeden Sil"
|
||||||
<Button
|
</Button>
|
||||||
variant=ButtonVariant::Destructive
|
<Button
|
||||||
class="order-1"
|
variant=ButtonVariant::Destructive
|
||||||
on:click=move |_| bulk_action("delete_with_data")
|
class="w-full sm:w-auto"
|
||||||
>
|
on:click=move |_| bulk_action("delete_with_data")
|
||||||
"Verilerle Birlikte Sil"
|
>
|
||||||
</Button>
|
"Verilerle Birlikte Sil"
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</AlertDialogFooter>
|
</AlertDialogFooter>
|
||||||
</AlertDialogContent>
|
</AlertDialogContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user