Button icon-touch/sm-touch sizes replace the repeated touch-target classes
This commit is contained in:
@@ -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}`}
|
||||
|
||||
Reference in New Issue
Block a user