FIX: modal buttons on Safari iOS are at the bottom of the viewport, which is an unusable part of the screen in iOS 7. Add padding so you can scroll those buttons high enough so they're clickable. Apple, fix this garbage omgwtfbbq.

This commit is contained in:
Neil Lalonde 2014-03-25 14:48:23 -04:00
parent bfc8c65212
commit e7ceb58cf4
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
.modal-middle-container { .modal-middle-container {
margin-top: 10%; margin-top: 10%;
max-width: 100%; max-width: 100%;
margin-bottom: 30px; // For iOS Safari issues
} }
.modal-inner-container { .modal-inner-container {
max-width: 100%; max-width: 100%;
@ -122,7 +122,7 @@
// .modal-footer .btn + .btn { // .modal-footer .btn + .btn {
.modal-footer .btn { .modal-footer .btn {
margin-right: 5px; margin-right: 5px;
margin-bottom: 0; margin-bottom: 5px;
} }
.modal-footer .btn-group .btn + .btn { .modal-footer .btn-group .btn + .btn {
margin-left: -1px; margin-left: -1px;