Skip to content

Commit 915347b

Browse files
committed
Increase remote bar touch targets
1 parent ae07fed commit 915347b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/NotifyCompRemoteBar/NotifyCompRemoteBar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ interface NotifyCompRemoteBarProps {
1414
}
1515

1616
const iconButtonClassName =
17-
'flex h-8 w-8 items-center justify-center rounded-full border border-tertiary-weak bg-panel text-base leading-none text-default shadow-sm hover-transition hover:bg-gray-100 disabled:cursor-not-allowed disabled:opacity-40 dark:hover:bg-gray-700 md:h-9 md:w-9 md:text-lg';
17+
'flex h-10 w-10 items-center justify-center rounded-full border border-tertiary-weak bg-panel text-lg leading-none text-default shadow-sm hover-transition hover:bg-gray-100 disabled:cursor-not-allowed disabled:opacity-40 dark:hover:bg-gray-700';
1818
const primaryButtonClassName =
19-
'flex h-9 w-9 items-center justify-center rounded-full border border-blue-300 bg-blue-200 text-base leading-none text-gray-900 shadow-sm hover-transition hover:bg-blue-300 disabled:cursor-not-allowed disabled:opacity-40 dark:border-blue-600 dark:bg-blue-700 dark:text-white dark:hover:bg-blue-600 md:h-10 md:w-10 md:text-lg';
19+
'flex h-10 w-10 items-center justify-center rounded-full border border-blue-300 bg-blue-200 text-lg leading-none text-gray-900 shadow-sm hover-transition hover:bg-blue-300 disabled:cursor-not-allowed disabled:opacity-40 dark:border-blue-600 dark:bg-blue-700 dark:text-white dark:hover:bg-blue-600';
2020

2121
const confirmNextGroup = (groupName: string) =>
2222
window.confirm(`Advance to ${groupName}? This will update the live remote activity.`);
@@ -88,7 +88,7 @@ export function NotifyCompRemoteBar({ competitionId }: NotifyCompRemoteBarProps)
8888
<div className="text-sm tabular-nums text-muted">{elapsed}</div>
8989
</div>
9090

91-
<div className="flex w-28 flex-col justify-center space-y-1 sm:w-40 md:w-64">
91+
<div className="flex w-40 flex-col justify-center space-y-1 sm:w-48 md:w-64">
9292
<div className="flex items-center justify-center gap-2">
9393
<button
9494
type="button"

0 commit comments

Comments
 (0)