fix: overflow-x-auto (#31391)

This commit is contained in:
Alaister Young authored and GitHub committed 2024-12-28 06:23:28 +08:00
1 parent d3b5f866d0
commit dacdddc257
2 files changed
+2 -2

No files matched your search

@@ -78,7 +78,7 @@ const OrganizationLayout = ({ children }: PropsWithChildren<{}>) => {
{selectedOrganization?.name ?? 'Organization'} settings
</ScaffoldTitle>
<NavMenu
className="border-none max-w-full overflow-hidden overflow-x-scroll"
className="border-none max-w-full overflow-y-hidden overflow-x-auto"
aria-label="Organization menu navigation"
>
{filteredNavMenuItems.map((item) => (
@@ -102,7 +102,7 @@ const LayoutHeader = ({
</div>
)}
<div className="relative flex flex-1 overflow-hidden">
<div className="flex w-full items-center justify-between py-2 pl-1 pr-3 md:px-3 flex-nowrap overflow-x-scroll">
<div className="flex w-full items-center justify-between py-2 pl-1 pr-3 md:px-3 flex-nowrap overflow-x-auto">
<div className="flex items-center text-sm">
{projectRef && (
<>