diff options
| author | Mark Otto <[email protected]> | 2012-10-31 21:43:32 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-10-31 21:43:32 -0700 |
| commit | d350f577e9aed350bf82f3937f68d11d613773d1 (patch) | |
| tree | 6b71fc6edb36e2c14840efc45400e87c8078c074 /less | |
| parent | 46347fff01d79225a140992947624c6afbea7691 (diff) | |
| download | bootstrap-d350f577e9aed350bf82f3937f68d11d613773d1.tar.xz bootstrap-d350f577e9aed350bf82f3937f68d11d613773d1.zip | |
fixes #3222: simpler positioning of modals
Diffstat (limited to 'less')
| -rw-r--r-- | less/modals.less | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/less/modals.less b/less/modals.less index 90b86670f..fbc485908 100644 --- a/less/modals.less +++ b/less/modals.less @@ -23,11 +23,11 @@ // Base modal .modal { position: fixed; - top: 50%; + top: 10%; left: 50%; z-index: @zindexModal; width: 560px; - margin: -250px 0 0 -280px; + margin-left: -280px; background-color: @white; border: 1px solid #999; border: 1px solid rgba(0,0,0,.3); @@ -42,7 +42,7 @@ .transition(e('opacity .3s linear, top .3s ease-out')); top: -25%; } - &.fade.in { top: 50%; } + &.fade.in { top: 10%; } } .modal-header { padding: 9px 15px; |
