Browse Source

fixes weird interaction when the cover block is selected on the editor

Maggie Cabrera 4 years ago
parent
commit
bc3d95f4b7
2 changed files with 2 additions and 0 deletions
  1. 1 0
      quadrat/assets/theme.css
  2. 1 0
      quadrat/sass/blocks/_cover.scss

+ 1 - 0
quadrat/assets/theme.css

@@ -70,6 +70,7 @@
 	left: 0;
 	bottom: 0;
 	right: 0;
+	z-index: 0 !important;
 }
 
 .wp-block-cover.is-style-quadrat-cover-diamond.has-white-background-color.wp-block-cover.has-background-dim:not(.has-background-gradient)::before, .wp-block-cover.is-style-quadrat-cover-diamond.has-black-background-color.wp-block-cover.has-background-dim:not(.has-background-gradient)::before {

+ 1 - 0
quadrat/sass/blocks/_cover.scss

@@ -12,6 +12,7 @@
 		left: 0;
 		bottom: 0;
 		right: 0;
+		z-index: 0 !important; 
 	}
 
 	&.has-white-background-color,