1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 14:54:27 +02:00

v4.1: Add .dropdown-item-text (#22965)

* Add .dropdown-item-text class

* Add example of plain text within a .dropdown-menu, too

* reorganize, simple/clearer headings
This commit is contained in:
Mark Otto
2018-01-21 22:40:55 -08:00
committed by GitHub
parent 2b42ef0db2
commit d402183014
2 changed files with 69 additions and 33 deletions

View File

@@ -129,3 +129,10 @@
color: $dropdown-header-color;
white-space: nowrap; // as with > li > a
}
// Dropdown text
.dropdown-item-text {
display: block;
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
color: $dropdown-link-color;
}