Explorar o código

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

Maggie Cabrera %!s(int64=4) %!d(string=hai) anos
pai
achega
bc3d95f4b7
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  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,