]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Allow <button> as .dropdown-item
authorBenjamin Morel <benjamin.morel@gmail.com>
Wed, 29 Aug 2018 09:41:37 +0000 (11:41 +0200)
committerJeremy Thomas <bbxdesign@gmail.com>
Sun, 7 Oct 2018 16:35:18 +0000 (18:35 +0200)
sass/components/dropdown.sass

index 6a0eaeb7a27cbe628a0246b0389434727c2c1ae6..e0df72f98f8254fa4e63ac06302a979a5816ae5e 100644 (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