-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inability to tap outside modal on mobile
This commit addresses touch target size issues on mobile devices by adjusting modal margins. The larger margin allows for easier interaction for modal dialogs by tapping outside the modal area on smaller screens. Key changes: - Introduce 30px margin on larger screens and 20px on smaller devices around modals, adhering to accessibility guidelines. - Remove `max-height: 90vh;` in favor of consistent vertical margins, centralizing the spacing control via the `margin` property. - Remove `max-height: 90v;` used to display scroll-bars as the vertical margin is now handled by `margin` property in single place.
- Loading branch information
1 parent
f3571ab
commit cb144ae
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters