Allow <button> as .dropdown-item

This commit is contained in:
Benjamin Morel 2018-08-29 11:41:37 +02:00 committed by Jeremy Thomas
parent 333bcf85e1
commit c006b5261c

View File

@ -56,9 +56,12 @@ $dropdown-divider-background-color: $border !default
padding: 0.375rem 1rem
position: relative
a.dropdown-item
a.dropdown-item,
button.dropdown-item
padding-right: 3rem
white-space: nowrap
width: 100%
text-align: left
&:hover
background-color: $dropdown-item-hover-background-color
color: $dropdown-item-hover-color