瀏覽代碼

prevent long menus from dropping to the next line

Ben Dwyer 4 年之前
父節點
當前提交
983e9b07d3
共有 4 個文件被更改,包括 6 次插入0 次删除
  1. 2 0
      spearhead/assets/sass/_header.scss
  2. 2 0
      spearhead/style-rtl.css
  3. 2 0
      spearhead/style.css
  4. 0 0
      spearhead/style.css.map

+ 2 - 0
spearhead/assets/sass/_header.scss

@@ -44,6 +44,7 @@ $site-branding-height: 68px;
 	}
 	}
 
 
 	.site-branding {
 	.site-branding {
+		flex-basis: 30%;
 		flex-grow: 1;
 		flex-grow: 1;
 		text-align: left;
 		text-align: left;
 
 
@@ -64,6 +65,7 @@ $site-branding-height: 68px;
 	}
 	}
 
 
 	.primary-navigation {
 	.primary-navigation {
+		flex-basis: 70%;
 		flex-grow: 4;
 		flex-grow: 4;
 		margin-top: 0;
 		margin-top: 0;
 
 

+ 2 - 0
spearhead/style-rtl.css

@@ -252,6 +252,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 }
 
 
 .site-header .site-branding {
 .site-header .site-branding {
+	flex-basis: 30%;
 	flex-grow: 1;
 	flex-grow: 1;
 	text-align: right;
 	text-align: right;
 }
 }
@@ -272,6 +273,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 }
 
 
 .site-header .primary-navigation {
 .site-header .primary-navigation {
+	flex-basis: 70%;
 	flex-grow: 4;
 	flex-grow: 4;
 	margin-top: 0;
 	margin-top: 0;
 }
 }

+ 2 - 0
spearhead/style.css

@@ -252,6 +252,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 }
 
 
 .site-header .site-branding {
 .site-header .site-branding {
+	flex-basis: 30%;
 	flex-grow: 1;
 	flex-grow: 1;
 	text-align: left;
 	text-align: left;
 }
 }
@@ -272,6 +273,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 }
 
 
 .site-header .primary-navigation {
 .site-header .primary-navigation {
+	flex-basis: 70%;
 	flex-grow: 4;
 	flex-grow: 4;
 	margin-top: 0;
 	margin-top: 0;
 }
 }

文件差異過大導致無法顯示
+ 0 - 0
spearhead/style.css.map


部分文件因文件數量過多而無法顯示