Skip to content

Commit

Permalink
feat(ui): adjust modal height for consistency
Browse files Browse the repository at this point in the history
- Updated `src/components/update-modal/modal.tsx` to set modal height to 85%.
- Adjusted `src/components/login-modal/modal.tsx` to align height with update modal by setting it to 85%.
These changes ensure consistent modal appearance across the application.
  • Loading branch information
cswni committed Dec 19, 2024
1 parent 70496f5 commit 018c109
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/login-modal/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const LoginModal: React.FC<LoginModalProps> = ({ open, onClose }) => {
xs: '90%',
sm: 500,
},
height: '70%',
height: '85%',
bgcolor: loading ? 'transparent' : 'background.paper',
borderRadius: 2,
boxShadow: loading ? 0 : 24,
Expand Down
1 change: 1 addition & 0 deletions src/components/update-modal/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const UpdateModal: React.FC<UpdateModalProps> = ({ open, onClose }) => {
xs: '90%',
sm: 500,
},
height: '85%',
bgcolor: 'background.paper',
borderRadius: 2,
boxShadow: 24,
Expand Down

0 comments on commit 018c109

Please sign in to comment.