瀏覽代碼

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

Maggie Cabrera 4 年之前
父節點
當前提交
bc3d95f4b7
共有 2 個文件被更改,包括 2 次插入0 次删除
  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,