Refine app view switcher

This commit is contained in:
Sam Becker 2026-01-31 15:22:05 -06:00
parent 0b47d9d618
commit 3f633787cf
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ export default function Switcher({
return (
<div className={clsx(
'flex divide-x overflow-hidden',
'rounded-md',
'rounded-[7px]',
'divide-medium',
type === 'regular' &&
'outline-medium shadow-[0_2px_4px_rgba(0,0,0,0.07)]',

View File

@ -38,7 +38,7 @@ export default function SwitcherItem({
const widthClass = width === 'narrow' ? WIDTH_CLASS_NARROW : WIDTH_CLASS;
const className = clsx(
'flex items-center justify-center',
`${widthClass} h-[28px]`,
`${widthClass} h-[30px]`,
isInteractive && 'cursor-pointer',
isInteractive && 'hover:bg-gray-100/60 active:bg-gray-100',
isInteractive && 'dark:hover:bg-gray-900/75 dark:active:bg-gray-900',