Browse Source

prevent long menus from dropping to the next line

Ben Dwyer 4 years ago
parent
commit
983e9b07d3
4 changed files with 6 additions and 0 deletions
  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 {
+		flex-basis: 30%;
 		flex-grow: 1;
 		text-align: left;
 
@@ -64,6 +65,7 @@ $site-branding-height: 68px;
 	}
 
 	.primary-navigation {
+		flex-basis: 70%;
 		flex-grow: 4;
 		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 {
+	flex-basis: 30%;
 	flex-grow: 1;
 	text-align: right;
 }
@@ -272,6 +273,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .site-header .primary-navigation {
+	flex-basis: 70%;
 	flex-grow: 4;
 	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 {
+	flex-basis: 30%;
 	flex-grow: 1;
 	text-align: left;
 }
@@ -272,6 +273,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .site-header .primary-navigation {
+	flex-basis: 70%;
 	flex-grow: 4;
 	margin-top: 0;
 }

File diff suppressed because it is too large
+ 0 - 0
spearhead/style.css.map


Some files were not shown because too many files changed in this diff