Change all overflows to auto

This commit is contained in:
Sam Becker 2024-03-23 11:15:59 -05:00
parent 14fdc070c5
commit 45f3248d84
4 changed files with 3 additions and 13 deletions

View File

@ -14,7 +14,7 @@ export default function AdminGrid ({
{title}
</div>}
{/* py-[1px] fixes Safari vertical scroll bug */}
<div className="min-w-[14rem] overflow-x-scroll hide-scrollbar py-[1px]">
<div className="min-w-[14rem] overflow-x-auto py-[1px]">
<div className={clsx(
'w-full',
'grid grid-cols-[auto_1fr_auto] ',

View File

@ -197,7 +197,7 @@ export default function CommandKClient({
</span>}
</div>
<Command.List className={clsx(
'relative overflow-y-scroll',
'relative overflow-y-auto',
'max-h-48 sm:max-h-72',
)}>
<Command.Empty className="mt-1 pl-3 text-dim">

View File

@ -105,7 +105,7 @@ export default function SiteChecklistClient({
<div
key={variable}
className={clsx(
'overflow-x-scroll hide-scrollbar overflow-y-hidden',
'overflow-x-auto overflow-y-hidden',
minimal && 'inline-flex',
)}
>

View File

@ -159,14 +159,4 @@
@apply
bg-gray-900 dark:bg-gray-100
}
/* Common Utilities: Scrollbars */
/* Explicitly hide scrollbars on Windows */
/* .hide-scrollbar {
scrollbar-width: none;
-ms-overflow-style: none;
}
.hide-scrollbar::-webkit-scrollbar {
@apply
hidden
} */
}