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

allow <button> elements as .dropdown-item's

This commit is contained in:
Mark Otto
2015-08-17 18:18:37 -07:00
parent f6925475dc
commit 29b4031db5
2 changed files with 25 additions and 0 deletions

View File

@@ -65,6 +65,12 @@
color: $dropdown-link-color;
white-space: nowrap; // prevent links from randomly breaking onto new lines
// For `<button>`s
text-align: inherit;
width: 100%;
background: none;
border: 0;
@include hover-focus {
color: $dropdown-link-hover-color;
text-decoration: none;