2
0
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:
Mark Otto
2015-08-17 18:18:37 -07:00
parent f6925475dc
commit 29b4031db5
2 changed files with 25 additions and 0 deletions
+6
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;