Button icon-touch/sm-touch sizes replace the repeated touch-target classes
This commit is contained in:
@@ -143,8 +143,8 @@ function Dashboards() {
|
||||
<TooltipTrigger asChild>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="size-11 text-muted-foreground md:size-8"
|
||||
size="icon-touch"
|
||||
className="text-muted-foreground"
|
||||
aria-label="Panels"
|
||||
data-testid="open-panels"
|
||||
onClick={() => setPanelsOpen(true)}
|
||||
|
||||
@@ -160,8 +160,8 @@ function PairPanel() {
|
||||
{started?.code && navigator.clipboard ? (
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="size-11 shrink-0 text-muted-foreground md:size-8"
|
||||
size="icon-touch"
|
||||
className="shrink-0 text-muted-foreground"
|
||||
aria-label="Copy the code"
|
||||
onClick={() => copy(started.code)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user