1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 16:19:53 +02:00

v4: Dropdown units (#20701)

* Fixes #19784: Move from pixels to rems, add a margin-bottom: 0; to keep things aligned

* lintiong
This commit is contained in:
Mark Otto
2016-10-02 18:25:51 -07:00
committed by GitHub
parent ebc77f60bb
commit a75330ca96
2 changed files with 6 additions and 5 deletions

View File

@@ -141,6 +141,7 @@
.dropdown-header {
display: block;
padding: $dropdown-padding-y $dropdown-item-padding-x;
margin-bottom: 0; // for use with heading elements
font-size: $font-size-sm;
color: $dropdown-header-color;
white-space: nowrap; // as with > li > a