mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Add new variable for -padding-x
This commit is contained in:
parent
6b1cdd0990
commit
fe77208a01
@ -21,7 +21,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
|
||||||
min-width: $dropdown-min-width;
|
min-width: $dropdown-min-width;
|
||||||
padding: $dropdown-padding-y 0;
|
padding: $dropdown-padding-y $dropdown-padding-x;
|
||||||
margin: $dropdown-spacer 0 0; // override default ul
|
margin: $dropdown-spacer 0 0; // override default ul
|
||||||
@include font-size($dropdown-font-size);
|
@include font-size($dropdown-font-size);
|
||||||
color: $dropdown-color;
|
color: $dropdown-color;
|
||||||
|
@ -928,6 +928,7 @@ $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
|
|||||||
// Dropdown menu container and contents.
|
// Dropdown menu container and contents.
|
||||||
|
|
||||||
$dropdown-min-width: 10rem !default;
|
$dropdown-min-width: 10rem !default;
|
||||||
|
$dropdown-padding-x: 0 !default;
|
||||||
$dropdown-padding-y: .5rem !default;
|
$dropdown-padding-y: .5rem !default;
|
||||||
$dropdown-spacer: .125rem !default;
|
$dropdown-spacer: .125rem !default;
|
||||||
$dropdown-font-size: $font-size-base !default;
|
$dropdown-font-size: $font-size-base !default;
|
||||||
|
Loading…
Reference in New Issue
Block a user