diff options
| author | Mark Otto <[email protected]> | 2018-01-21 22:40:55 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-01-21 22:40:55 -0800 |
| commit | d402183014810e418a57e08abcb34409c17829f5 (patch) | |
| tree | 0897a76d61d3afcf801e176edc2a30adef34e654 /scss | |
| parent | 2b42ef0db282dc610e9453afb5c7379740ebe81e (diff) | |
| download | bootstrap-d402183014810e418a57e08abcb34409c17829f5.tar.xz bootstrap-d402183014810e418a57e08abcb34409c17829f5.zip | |
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
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_dropdown.scss | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index a9d4cfed2..8d96c1ba6 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -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; +} |
