fix: refactor sidebar disposition for sidebar to not push main out of screen (#4477)

Fixed sidebar pushing main
This commit is contained in:
Lucas Oliveira 2024-11-08 16:09:57 -03:00 committed by GitHub
commit b898d8a652
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ export default function FlowPage({ view }: { view?: boolean }): JSX.Element {
<div className="flex h-full overflow-hidden">
<SidebarProvider width="17.5rem" defaultOpen={!isMobile}>
{!view && <FlowSidebarComponent />}
<main className="flex flex-1">
<main className="flex w-full overflow-hidden">
<div className="h-full w-full">
<Page />
</div>

View file

@ -72,7 +72,7 @@ export default function CollectionPage(): JSX.Element {
}}
/>
)}
<main className="flex flex-1">
<main className="flex w-full overflow-hidden">
{flows && examples && folders ? (
<div className={`relative mx-auto h-full w-full overflow-y-scroll`}>
<CardsWrapComponent