FIX: Workaround for modal CSS bugs in IOS 8. Don't use a table to

vertically centre, use a margin offset.
This commit is contained in:
Robin Ward 2014-10-28 12:03:36 -04:00
parent a4363e033d
commit edea7180f4
1 changed files with 1 additions and 2 deletions

View File

@ -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