aboutsummaryrefslogtreecommitdiff
path: root/scss/_dropdown.scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2018-01-21 22:40:55 -0800
committerGitHub <[email protected]>2018-01-21 22:40:55 -0800
commitd402183014810e418a57e08abcb34409c17829f5 (patch)
tree0897a76d61d3afcf801e176edc2a30adef34e654 /scss/_dropdown.scss
parent2b42ef0db282dc610e9453afb5c7379740ebe81e (diff)
downloadbootstrap-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/_dropdown.scss')
-rw-r--r--scss/_dropdown.scss7
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;
+}