Skip to content

Commit

Permalink
fix(modalBody): overflow
Browse files Browse the repository at this point in the history
Signed-off-by: Sudhanshu Dasgupta <[email protected]>
  • Loading branch information
sudhanshutech committed Jul 9, 2024
1 parent cc4b727 commit 02d6fd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/custom/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ export const useModal = ({ headerIcon }: { headerIcon: React.ReactNode }): UseMo

export const ModalBody = styled(Paper)(({ theme }) => ({
padding: '1rem',
backgroundColor: theme.palette.background.surfaces
backgroundColor: theme.palette.background.surfaces,
overflowY: 'auto'
}));

const StyledFooter = styled('div', {
Expand Down

0 comments on commit 02d6fd0

Please sign in to comment.