diff options
| author | fat <[email protected]> | 2013-05-16 12:50:06 -0700 |
|---|---|---|
| committer | fat <[email protected]> | 2013-05-16 12:50:06 -0700 |
| commit | 92245e8bc70f8d2e48036b7ba088551d07db29ca (patch) | |
| tree | 4712d7114a60380513754f54931bd925d556545c /less | |
| parent | bdbd268cb9cb64d0a8f6c77e56c139d18e21af5f (diff) | |
| download | bootstrap-92245e8bc70f8d2e48036b7ba088551d07db29ca.tar.xz bootstrap-92245e8bc70f8d2e48036b7ba088551d07db29ca.zip | |
change dropdown strategy to use an overlay - fixes mobile click anywhere + allows for firefox middle click
Diffstat (limited to 'less')
| -rw-r--r-- | less/dropdowns.less | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less index 1b9165b4e..e2c9805ae 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -114,6 +114,18 @@ } } + +// Backdrop to catch body clicks on mobile, etc. +// --------------------------- +.dropdown-backdrop { + position: fixed; + left: 0; + right: 0; + bottom: 0; + top: 0; + z-index: @zindex-dropdown - 10; +} + // Right aligned dropdowns // --------------------------- .pull-right > .dropdown-menu { |
