]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Adjusted margin on top-bar.scss to match docs
authorMatt Ferderer <matt@mattferderer.com>
Tue, 1 Nov 2016 17:42:14 +0000 (12:42 -0500)
committerMatt Ferderer <matt@mattferderer.com>
Tue, 1 Nov 2016 17:42:14 +0000 (12:42 -0500)
scss/components/_top-bar.scss

index 0f08153706bb447c8fb9cd832e449fdf9d9b14f1..719190d2df0cb0d9a869aa28683fde5a91d60ede 100644 (file)
@@ -20,7 +20,7 @@ $topbar-submenu-background: $topbar-background !default;
 
 /// Spacing for the top bar title.
 /// @type Number
-$topbar-title-spacing: 1rem !default;
+$topbar-title-spacing: 0.45rem 1rem 0 1rem !default;
 
 /// Maximum width of `<input>` elements inside the top bar.
 /// @type Number
@@ -144,7 +144,7 @@ $topbar-unstack-breakpoint: medium !default;
   @if $global-flexbox {
     .top-bar-title {
       flex: 0 0 auto;
-      margin-right: $topbar-title-spacing;
+      margin: $topbar-title-spacing;
     }
 
     .top-bar-left,
@@ -155,8 +155,8 @@ $topbar-unstack-breakpoint: medium !default;
   @else {
     .top-bar-title {
       float: left;
-      margin-right: $topbar-title-spacing;
-
+      margin: $topbar-title-spacing;
+      display:inline-block;
     }
 
     .top-bar-left {