Prevent modal top from shrinking (#7167)

* fix: prevent modal top from shrinking

* fix: scroll and max height for share modal and popover

* fix: review
This commit is contained in:
Apoorv Mishra
2024-07-03 09:11:00 +05:30
committed by GitHub
parent 303125b682
commit de90f879f1
7 changed files with 157 additions and 66 deletions

View File

@@ -254,7 +254,7 @@ const Header = styled(Flex)`
const Small = styled.div`
animation: ${fadeAndScaleIn} 250ms ease;
margin: auto auto;
margin: 25vh auto auto auto;
width: 75vw;
min-width: 350px;
max-width: 450px;
@@ -282,7 +282,7 @@ const Small = styled.div`
`;
const SmallContent = styled(Scrollable)`
padding: 12px 24px 24px;
padding: 12px 24px;
`;
export default observer(Modal);