From edea7180f4f61e74b24504fd731a58d28d6d6a71 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 28 Oct 2014 12:03:36 -0400 Subject: [PATCH] FIX: Workaround for modal CSS bugs in IOS 8. Don't use a table to vertically centre, use a margin offset. --- app/assets/stylesheets/desktop/modal.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/stylesheets/desktop/modal.scss b/app/assets/stylesheets/desktop/modal.scss index 5724c8afe86..5c5fd0ad0f7 100644 --- a/app/assets/stylesheets/desktop/modal.scss +++ b/app/assets/stylesheets/desktop/modal.scss @@ -1,8 +1,7 @@ // base styles for every modal popup used in Discourse .modal-middle-container { - display:table-cell; - vertical-align: middle; + margin-top: 150px; } // Hardcode to be the same as before for now. I would recommend not using bootbox, or finding a way so the html structure can be the same