Browse Source

Exford: Increase min-height of the Cover block

Thomas Guillot 6 years ago
parent
commit
a0e7fbdc8d
3 changed files with 3 additions and 3 deletions
  1. 1 1
      exford/sass/_config-child-theme-deep.scss
  2. 1 1
      exford/style-editor.css
  3. 1 1
      exford/style.css

+ 1 - 1
exford/sass/_config-child-theme-deep.scss

@@ -188,7 +188,7 @@ $config-button: (
  * Cover
  * Cover
  */
  */
 $config-cover: (
 $config-cover: (
-	"height": #{15 * map-deep-get($config-global, "spacing", "vertical")},
+	"height": 80vh,
 );
 );
 
 
 /**
 /**

+ 1 - 1
exford/style-editor.css

@@ -328,7 +328,7 @@ object {
 .wp-block-cover,
 .wp-block-cover,
 .wp-block-cover-image {
 .wp-block-cover-image {
 	background-color: #111111;
 	background-color: #111111;
-	min-height: 480px;
+	min-height: 80vh;
 	/* Treating H2 separately to account for legacy /core styles */
 	/* Treating H2 separately to account for legacy /core styles */
 }
 }
 
 

+ 1 - 1
exford/style.css

@@ -1213,7 +1213,7 @@ input.has-focus[type="submit"],
 .wp-block-cover,
 .wp-block-cover,
 .wp-block-cover-image {
 .wp-block-cover-image {
 	background-color: #111111;
 	background-color: #111111;
-	min-height: 480px;
+	min-height: 80vh;
 	margin: inherit;
 	margin: inherit;
 	/* Treating H2 separately to account for legacy /core styles */
 	/* Treating H2 separately to account for legacy /core styles */
 	/**
 	/**