Skip to content

Commit 7ac6421

Browse files
committed
Add more mobile fixes
1 parent b357728 commit 7ac6421

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/modals/AccessPeriodModal.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ const PeriodContainer = styled.div`
3131
border-radius: 8px;
3232
gap: 16px;
3333
padding: 32px 24px;
34+
position: relative;
35+
36+
@media (max-width: 768px) {
37+
grid-template-columns: 1fr;
38+
}
3439
`
3540

3641
const DetailsContainer = styled.div`

src/modals/PurchaseCompleteModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const Box = styled.div`
1010
border-radius: 8px;
1111
padding: 32px 24px;
1212
margin: 0 auto;
13-
width: 408px;
13+
width: 100%;
14+
max-width: 408px;
1415
1516
h2 {
1617
font-size: 24px;

0 commit comments

Comments
 (0)