mirror of https://github.com/twbs/bootstrap.git
Merge pull request #19216 from twbs/dropdown-min-width
Extract $dropdown-min-width variable
This commit is contained in:
commit
af68bc2c73
|
@ -42,7 +42,7 @@
|
||||||
z-index: $zindex-dropdown;
|
z-index: $zindex-dropdown;
|
||||||
display: none; // none by default, but block on "open" of the menu
|
display: none; // none by default, but block on "open" of the menu
|
||||||
float: left;
|
float: left;
|
||||||
min-width: 160px;
|
min-width: $dropdown-min-width;
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
margin: 2px 0 0; // override default ul
|
margin: 2px 0 0; // override default ul
|
||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
|
|
|
@ -426,6 +426,7 @@ $form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www
|
||||||
//
|
//
|
||||||
// Dropdown menu container and contents.
|
// Dropdown menu container and contents.
|
||||||
|
|
||||||
|
$dropdown-min-width: 160px !default;
|
||||||
$dropdown-bg: #fff !default;
|
$dropdown-bg: #fff !default;
|
||||||
$dropdown-border-color: rgba(0,0,0,.15) !default;
|
$dropdown-border-color: rgba(0,0,0,.15) !default;
|
||||||
$dropdown-border-width: $border-width !default;
|
$dropdown-border-width: $border-width !default;
|
||||||
|
|
Loading…
Reference in New Issue