diff options
| author | Andreas Cederstròˆm <[email protected]> | 2012-09-27 11:44:48 +0200 |
|---|---|---|
| committer | Andreas Cederstròˆm <[email protected]> | 2012-09-27 11:46:54 +0200 |
| commit | ecbb0ed4df3975d473e3c3558db322e26c6620ae (patch) | |
| tree | 6b1bbb406d9599ad1e80ca47ac6a8f42ec08eddd | |
| parent | 24e277b85abace0f77076b1cfa96e11b1d1dc891 (diff) | |
| download | bootstrap-ecbb0ed4df3975d473e3c3558db322e26c6620ae.tar.xz bootstrap-ecbb0ed4df3975d473e3c3558db322e26c6620ae.zip | |
Making modal work with max width 767px - fixes #4860
| -rw-r--r-- | docs/assets/css/bootstrap-responsive.css | 5 | ||||
| -rw-r--r-- | less/responsive-767px-max.less | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index f1efde190..5320eadf8 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -872,8 +872,11 @@ width: auto; margin: 0; } + .modal.fade { + top: -100px; + } .modal.fade.in { - top: auto; + top: 20px; } } diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less index 45ce4ebc7..1d5c1239c 100644 --- a/less/responsive-767px-max.less +++ b/less/responsive-767px-max.less @@ -107,7 +107,8 @@ right: 20px; width: auto; margin: 0; - &.fade.in { top: auto; } + &.fade { top: -100px; } + &.fade.in { top: 20px; } } } |
