fix: harmoniser la hauteur des boutons dans la toolbar série
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 45s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 45s
- ProwlarrSearchModal: py-2 → py-1.5, gap-2 → gap-1.5 (aligné avec les autres) - DeleteSeriesButton: remplace Button size=sm (h-9) par bouton inline avec py-1.5 cohérent avec le reste de la toolbar Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -29,15 +29,15 @@ export function DeleteSeriesButton({ libraryId, seriesName }: { libraryId: strin
|
||||
|
||||
return (
|
||||
<>
|
||||
<Button
|
||||
variant="destructive"
|
||||
size="sm"
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setShowConfirm(true)}
|
||||
disabled={deleting}
|
||||
className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg border border-destructive/30 bg-destructive/10 text-destructive text-sm font-medium hover:bg-destructive/20 transition-colors disabled:opacity-50"
|
||||
>
|
||||
{deleting ? <Icon name="spinner" size="sm" className="animate-spin" /> : <Icon name="trash" size="sm" />}
|
||||
<span className="ml-1.5">{t("seriesDetail.delete")}</span>
|
||||
</Button>
|
||||
{t("seriesDetail.delete")}
|
||||
</button>
|
||||
|
||||
<Modal isOpen={showConfirm} onClose={() => setShowConfirm(false)} maxWidth="sm">
|
||||
<div className="p-6">
|
||||
|
||||
Reference in New Issue
Block a user