Browse Source

fixed spacing for header (#5472)

Maggie 3 years ago
parent
commit
71c3f66ed3

+ 0 - 3
blockbase/assets/ponyfill.css

@@ -164,9 +164,6 @@ body > .is-root-container > .wp-block-template-part > .wp-block-cover,
     text-align: center;
   }
 }
-.wp-site-blocks .site-header .wp-block-navigation__responsive-container-content {
-  gap: var(--wp--style--block-gap, 2em);
-}
 
 @media (max-width: 599px) {
   .wp-site-blocks .site-header-linear .site-words-stack-small {

+ 1 - 1
blockbase/block-template-parts/header-wide.html

@@ -16,7 +16,7 @@
 		</div>
 		<!-- /wp:group -->
 
-		<!-- wp:navigation {"__unstableLocation":"primary","__unstableSocialLinks":"social","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /-->
+		<!-- wp:navigation {"__unstableLocation":"primary","__unstableSocialLinks":"social","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"},"blockGap":"1.5em"}}} /-->
 
 	</div>
 	<!-- /wp:group -->

+ 1 - 6
blockbase/sass/base/_header.scss

@@ -13,12 +13,7 @@
 			text-align: center;
 		}
 	}
-
-	// User for Social Navigation ?
-	// TODO: Ref to issue
-	.wp-block-navigation__responsive-container-content {
-		gap: var( --wp--style--block-gap, 2em );
-	}
+	
 }
 
 // Needed until Gutenberg offers responsive design options