From 9093bc42384817d928c5667883eaf2f8e80ace40 Mon Sep 17 00:00:00 2001 From: borntolurk Date: Sun, 14 May 2023 22:01:57 +0000 Subject: [PATCH] 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 Reviewed-on: https://fsdfsd.net/rDrama/rDrama/pulls/148 Co-authored-by: borntolurk Co-committed-by: borntolurk --- files/assets/css/main.css | 1 + 1 file changed, 1 insertion(+) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 1caae2a5a..34422e04e 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -1849,6 +1849,7 @@ button.close { height: 100%; overflow: hidden; outline: 0; + padding-right: 0 !important; /* fix Safari zoom issue */ } .modal-dialog { position: relative;