]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Rename navbar height variables to reflect their value (#24161)
authorDylan Seago <dylanseago@users.noreply.github.com>
Thu, 19 Oct 2017 02:51:45 +0000 (22:51 -0400)
committerMark Otto <markd.otto@gmail.com>
Thu, 19 Oct 2017 02:51:45 +0000 (19:51 -0700)
scss/_variables.scss

index 2301d8d79cc97e90e28eb3b49eb5fa1b20a41c0a..3d78f0b8ae0f5a9bb91fafe2a2a5aa3f6a9a69a1 100644 (file)
@@ -530,9 +530,9 @@ $navbar-padding-x:                  $spacer !default;
 
 $navbar-brand-font-size:            $font-size-lg !default;
 // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
-$nav-link-height:                   $navbar-brand-font-size * $line-height-base !default;
-$navbar-brand-height:               ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
-$navbar-brand-padding-y:            ($navbar-brand-height - $nav-link-height) / 2 !default;
+$nav-link-height:                   ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
+$navbar-brand-height:               $navbar-brand-font-size * $line-height-base !default;
+$navbar-brand-padding-y:            ($nav-link-height - $navbar-brand-height) / 2 !default;
 
 $navbar-toggler-padding-y:          .25rem !default;
 $navbar-toggler-padding-x:          .75rem !default;