浏览代码

Fixes navigation justification

Fixes #4723
Jeffrey Pearce 3 年之前
父节点
当前提交
cac85e3a19
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      blockbase/assets/ponyfill.css
  2. 1 1
      blockbase/sass/base/_header.scss

+ 1 - 1
blockbase/assets/ponyfill.css

@@ -165,7 +165,7 @@ pre {
 
 .wp-site-blocks .site-header .wp-block-navigation {
 	flex-grow: 1;
-	justify-content: end;
+	justify-content: flex-end;
 }
 
 @media (max-width: 599px) {

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

@@ -8,7 +8,7 @@
 	}
 	.wp-block-navigation {
 		flex-grow: 1;
-		justify-content: end;
+		justify-content: flex-end;
 	}
 	// The blockGap is used HORIZONTALLY when the viewport is LARGE (in which case the value defined in theme.json is appropriate)
 	// It needs to be a different value then when the viewport is SMALL and the gap is used VERTICALLY