Skip to content

Commit

Permalink
removed overflowY hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
subru-37 committed Oct 8, 2024
1 parent 3fd61a5 commit 112c0f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/web-admin/src/layouts/DashboardLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function DashboardLayout({ headerButton, children }) {
if (isAuthenticated) {
return (
<Flex height="100vh" flexDirection="column">
<Flex height="100%" overflow="hidden" flexDirection={isMobile ? 'column' : 'row'}>
<Flex height="100%" flexDirection={isMobile ? 'column' : 'row'}>
{isMobile && (
<Flex
height={24}
Expand Down Expand Up @@ -50,7 +50,7 @@ export default function DashboardLayout({ headerButton, children }) {
<Flex
height="100%"
width="100%"
overflowY="hidden"
// overflowY="hidden"
flexDirection="column"
transition="margin 0.3s ease"
>
Expand Down Expand Up @@ -97,7 +97,7 @@ export default function DashboardLayout({ headerButton, children }) {
<Button onClick={onOpen}>Organization Settings</Button> {/* Button to open modal */}
</Flex>
</Flex>
<Box height="100%" overflowY="hidden" p={4}>
<Box height="100%" p={4}>
{children}
</Box>
</Flex>
Expand Down

0 comments on commit 112c0f0

Please sign in to comment.