From 7990d6ba2fa5a91c05f5ae0a2d0589ea833a077c Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 29 Oct 2014 12:43:08 -0400 Subject: [PATCH] Revert "FIX: Workaround for modal CSS bugs in IOS 8. Don't use a table to" This reverts commit edea7180f4f61e74b24504fd731a58d28d6d6a71. --- app/assets/stylesheets/desktop/modal.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/desktop/modal.scss b/app/assets/stylesheets/desktop/modal.scss index 5c5fd0ad0f..5724c8afe8 100644 --- a/app/assets/stylesheets/desktop/modal.scss +++ b/app/assets/stylesheets/desktop/modal.scss @@ -1,7 +1,8 @@ // base styles for every modal popup used in Discourse .modal-middle-container { - margin-top: 150px; + display:table-cell; + vertical-align: middle; } // 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