mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
fix(documents): solid destructive delete on the bulk bar
The outline variant's destructive text on the card surface fails the WCAG AA contrast gate (axe serious). Matches the detail sheet's Delete.
This commit is contained in:
1 parent
6bab2ce774
commit
af45899f89
1 file changed
+4
-2
@@ -108,10 +108,12 @@ export function DocumentBulkBar({
|
||||
</DropdownMenu>
|
||||
) : null}
|
||||
|
||||
{/* Solid destructive (matching the detail sheet's Delete) — the
|
||||
outline variant's destructive text on the card surface fails the
|
||||
WCAG contrast gate. */}
|
||||
<Button
|
||||
variant="outline"
|
||||
variant="destructive"
|
||||
size="sm"
|
||||
className="text-destructive hover:text-destructive"
|
||||
disabled={busy}
|
||||
onClick={onDelete}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user