diff options
| author | Heinrich Fenkart <[email protected]> | 2015-03-03 05:54:03 +0100 |
|---|---|---|
| committer | Heinrich Fenkart <[email protected]> | 2015-03-03 05:54:03 +0100 |
| commit | 200f6fb10d1b41db80fe0750c13eac4157a9149f (patch) | |
| tree | c58d9ddc5d881d9a7e4fcd1dcccc6a730000245f /less | |
| parent | 399658178d3248f58f167233d99ae10990cf76fb (diff) | |
| parent | f5beebe726aa8c1810015d8c62931f4559b49664 (diff) | |
| download | bootstrap-200f6fb10d1b41db80fe0750c13eac4157a9149f.tar.xz bootstrap-200f6fb10d1b41db80fe0750c13eac4157a9149f.zip | |
Merge pull request #15881 from twbs/fix-modal-backdrop
Modal: Fix backdrop not readjusting when height changes
Diffstat (limited to 'less')
| -rw-r--r-- | less/modals.less | 4 | ||||
| -rw-r--r-- | less/variables.less | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/less/modals.less b/less/modals.less index 032a497d6..1de622050 100644 --- a/less/modals.less +++ b/less/modals.less @@ -62,10 +62,12 @@ // Modal background .modal-backdrop { - position: absolute; + position: fixed; top: 0; right: 0; + bottom: 0; left: 0; + z-index: @zindex-modal-background; background-color: @modal-backdrop-bg; // Fade for backdrop &.fade { .opacity(0); } diff --git a/less/variables.less b/less/variables.less index a647983eb..b5fb9d02c 100644 --- a/less/variables.less +++ b/less/variables.less @@ -269,7 +269,8 @@ @zindex-popover: 1060; @zindex-tooltip: 1070; @zindex-navbar-fixed: 1030; -@zindex-modal: 1040; +@zindex-modal-background: 1040; +@zindex-modal: 1050; //== Media queries breakpoints |
