]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix #1020
authorJeremy Thomas <bbxdesign@gmail.com>
Mon, 7 Aug 2017 18:55:21 +0000 (19:55 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Mon, 7 Aug 2017 18:55:21 +0000 (19:55 +0100)
CHANGELOG.md
sass/components/navbar.sass

index 03afadc39d9b7fabfabd3ea6f598f8bb70e9df80..fbf918240937175a6600df8d693796efe8ba109f 100644 (file)
@@ -10,6 +10,7 @@
 
 ### Issues closed
 
+* #1020 Customizing `.navbar-item img` max height
 * #998 `.navbar-dropdown` with **right** alignment
 * #877 `.pagination` isn't using `$pagination-background`
 * #989 `navbar-brand` overflowing on mobile
index ec5b5defd37beeef594c0aebda8ef1b33d0fba7c..af67e8756ab193e59755f7a4f6c740fad50e1686 100755 (executable)
@@ -6,6 +6,7 @@ $navbar-item-hover-color: $black !default
 $navbar-item-hover-background-color: $background !default
 $navbar-item-active-color: $black !default
 $navbar-item-active-background-color: transparent !default
+$navbar-item-img-max-height: 1.75rem !default
 
 $navbar-tab-hover-background-color: transparent !default
 $navbar-tab-hover-border-bottom-color: $primary !default
@@ -80,7 +81,7 @@ a.navbar-item,
   flex-grow: 0
   flex-shrink: 0
   img
-    max-height: 1.75rem
+    max-height: $navbar-item-img-max-height
   &.has-dropdown
     padding: 0
   &.is-tab