From ce5737870545b908da0dd0744906edd12a9c126c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 27 Jul 2013 19:38:05 -0700 Subject: fixes #8665: have modals use auto margin on sides and widen it instead of positioning and negative margin --- dist/css/bootstrap.css | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'dist/css/bootstrap.css') diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index d711028b3..d17799276 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -3366,13 +3366,11 @@ button.close { } .modal-dialog { - position: relative; - top: 0; - right: 0; - left: 0; z-index: 1050; width: auto; padding: 10px; + margin-right: auto; + margin-left: auto; } .modal-content { @@ -3471,10 +3469,9 @@ button.close { .modal-dialog { right: auto; left: 50%; - width: 560px; + width: 600px; padding-top: 30px; padding-bottom: 30px; - margin-left: -280px; } .modal-content { -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); -- cgit v1.2.3