From: Jeremy Thomas Date: Mon, 7 Aug 2017 18:55:21 +0000 (+0100) Subject: Fix #1020 X-Git-Tag: 0.5.1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bbc4c8037d94303adbafd08c8d336cb105c8d44;p=thirdparty%2Fbulma.git Fix #1020 --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 03afadc39..fbf918240 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/sass/components/navbar.sass b/sass/components/navbar.sass index ec5b5defd..af67e8756 100755 --- a/sass/components/navbar.sass +++ b/sass/components/navbar.sass @@ -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