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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user