fix: improve mobile styles for the subscription dialog

This commit is contained in:
jongomez 2023-10-26 19:08:07 +01:00 committed by Jon
parent 973bd2154a
commit 74186db2a7
3 changed files with 10 additions and 1 deletions

View File

@ -50,6 +50,11 @@ const MainContentContainer = styled.div`
display: flex;
flex-direction: column;
align-items: center;
/* safe center will center for large screens, but still show a scroll bar for smaller screens */
justify-content: safe center;
overflow: auto;
height: 100%;
padding: 24px 0;
width: 430px;
@ -64,6 +69,7 @@ const MainContentContainer = styled.div`
const FullscreenDialogContainer = styled.div`
position: fixed;
top: 0;
left: 0;
width: 100vw;

View File

@ -128,6 +128,8 @@ const EmailSubscribeForm = styled.form<{
gap: 16px;
width: 100%;
margin-top: 50px;
margin-bottom: 30px;
`
const StyledTextField = styled(TextField)`

View File

@ -112,5 +112,6 @@ const LogosIconAndTitleContainer = styled.div`
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 16px;
margin: 16px 0;
`