Skip to content

Commit

Permalink
fix(Modal): remove changes on overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cnairi committed Oct 31, 2024
1 parent 120bd3e commit 4c66cb1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/Modal/src/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const Dialog = styled.divBox(
height: 100%;
max-height: 100%;
max-width: 100%;
overflow: visible;
overflow: auto;
opacity: 0;
transition:
opacity 250ms ease-in-out,
Expand All @@ -70,9 +70,7 @@ export const Dialog = styled.divBox(
`
)

export const Content = styled.divBox`
overflow: auto;
`
export const Content = styled.divBox``

export const Body = styled.sectionBox`
${th('modals.body')};
Expand All @@ -96,7 +94,6 @@ export const Footer = styled.footerBox`
bottom: 0;
flex-shrink: 0;
z-index: 1;
overflow: hidden;
${th('modals.footer')};
`

Expand Down

0 comments on commit 4c66cb1

Please sign in to comment.