Fix Safari modal zoom issue (#148)

On zoom Bootstrap tries to add padding to modals in \_adjustDialog, which breaks the appearance on iPhone. This fix forces the padding to 0

Reported here https://rdrama.net/post/170400/15k-mbux-for-the-codecel-who

Co-authored-by: borntolurk <borntolurk@rdrama.net>
Reviewed-on: #148
Co-authored-by: borntolurk <borntolurk@noreply.fsdfsd.net>
Co-committed-by: borntolurk <borntolurk@noreply.fsdfsd.net>
pull/150/head
borntolurk 2023-05-14 22:01:57 +00:00 committed by Aevann
parent bbaa6cd6b0
commit 9093bc4238
1 changed files with 1 additions and 0 deletions

View File

@ -1849,6 +1849,7 @@ button.close {
height: 100%;
overflow: hidden;
outline: 0;
padding-right: 0 !important; /* fix Safari zoom issue */
}
.modal-dialog {
position: relative;