fix: resolve nested button styles in bulk actions and clean up UI modules
Some checks failed
Build MIPS Binary / build (push) Has been cancelled
Some checks failed
Build MIPS Binary / build (push) Has been cancelled
This commit is contained in:
@@ -220,11 +220,9 @@ pub fn TorrentTable() -> impl IntoView {
|
|||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<Show when=move || has_selection.get()>
|
<Show when=move || has_selection.get()>
|
||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
<DropdownMenuTrigger>
|
<DropdownMenuTrigger class="gap-2 bg-secondary text-secondary-foreground border-none hover:bg-secondary/80">
|
||||||
<Button variant=ButtonVariant::Secondary size=ButtonSize::Sm class="gap-2">
|
<Ellipsis class="size-4" />
|
||||||
<Ellipsis class="size-4" />
|
{move || format!("Toplu İşlem ({})", selected_count.get())}
|
||||||
{move || format!("Toplu İşlem ({})", selected_count.get())}
|
|
||||||
</Button>
|
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent class="w-48">
|
<DropdownMenuContent class="w-48">
|
||||||
<DropdownMenuLabel>"Seçili Torrentler"</DropdownMenuLabel>
|
<DropdownMenuLabel>"Seçili Torrentler"</DropdownMenuLabel>
|
||||||
@@ -239,10 +237,10 @@ pub fn TorrentTable() -> impl IntoView {
|
|||||||
<div class="my-1 h-px bg-border" />
|
<div class="my-1 h-px bg-border" />
|
||||||
|
|
||||||
<AlertDialog>
|
<AlertDialog>
|
||||||
<AlertDialogTrigger class="w-full">
|
<AlertDialogTrigger class="w-full text-left">
|
||||||
<DropdownMenuItem class="text-destructive focus:bg-destructive/10">
|
<div class="inline-flex gap-2 items-center w-full rounded-sm px-2 py-1.5 text-sm transition-colors text-destructive hover:bg-destructive/10 focus:bg-destructive/10">
|
||||||
<Trash2 class="mr-2 size-4" /> "Toplu Sil"
|
<Trash2 class="size-4" /> "Toplu Sil"
|
||||||
</DropdownMenuItem>
|
</div>
|
||||||
</AlertDialogTrigger>
|
</AlertDialogTrigger>
|
||||||
<AlertDialogContent>
|
<AlertDialogContent>
|
||||||
<AlertDialogHeader>
|
<AlertDialogHeader>
|
||||||
|
|||||||
Reference in New Issue
Block a user