forked from rDrama/rDrama
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: rDrama/rDrama#148 Co-authored-by: borntolurk <borntolurk@noreply.fsdfsd.net> Co-committed-by: borntolurk <borntolurk@noreply.fsdfsd.net>master
parent
bbaa6cd6b0
commit
9093bc4238
|
@ -1849,6 +1849,7 @@ button.close {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
padding-right: 0 !important; /* fix Safari zoom issue */
|
||||||
}
|
}
|
||||||
.modal-dialog {
|
.modal-dialog {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
Loading…
Reference in New Issue