diff options
| author | Mark Otto <[email protected]> | 2013-07-27 19:38:05 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-27 19:38:05 -0700 |
| commit | ce5737870545b908da0dd0744906edd12a9c126c (patch) | |
| tree | f3dd8c7dab6172124165a6a99ac9c8268fa6f8a2 /dist/css/bootstrap.css | |
| parent | 5aad25b34be47f59b78ee070d1b37cf2b6a8766a (diff) | |
| download | bootstrap-ce5737870545b908da0dd0744906edd12a9c126c.tar.xz bootstrap-ce5737870545b908da0dd0744906edd12a9c126c.zip | |
fixes #8665: have modals use auto margin on sides and widen it instead of positioning and negative margin
Diffstat (limited to 'dist/css/bootstrap.css')
| -rw-r--r-- | dist/css/bootstrap.css | 9 |
1 files changed, 3 insertions, 6 deletions
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); |
