Button icon-touch/sm-touch sizes replace the repeated touch-target classes

This commit is contained in:
2026-10-12 22:02:35 +02:00
parent 59272299f5
commit 237b9d96c6
8 changed files with 49 additions and 61 deletions
@@ -274,11 +274,8 @@ function PanelRow({
</span>
<Button
variant={confirmRemove ? "destructive" : "ghost"}
size="icon"
className={cn(
"size-11 shrink-0 md:size-8",
!confirmRemove && "text-muted-foreground",
)}
size="icon-touch"
className={cn("shrink-0", !confirmRemove && "text-muted-foreground")}
aria-label={removeLabel}
title={removeLabel}
data-testid={`remove-panel-${panel.id}`}