mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03: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