瀏覽代碼

Button 2: Clean up focus behaviour with corners in editor a bit.

Laurel Fulford 6 年之前
父節點
當前提交
b4e38127d1
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      button-2/editor-blocks.css

+ 3 - 5
button-2/editor-blocks.css

@@ -212,8 +212,8 @@ Description: Gutenberg Block Editor Styles
 			transform: rotate(90deg);
 }
 
-.wp-block-image.is-style-fancy > div:before,
-.wp-block-image.is-style-fancy > div:after {
+.wp-block-image.is-style-fancy .components-resizable-box__container:before,
+.wp-block-image.is-style-fancy .components-resizable-box__container:after {
 	position: absolute;
 	z-index: 1;
 	bottom: -1px;
@@ -230,7 +230,7 @@ Description: Gutenberg Block Editor Styles
 	background-size: 45px;
 }
 
-.wp-block-image.is-style-fancy > div:after {
+.wp-block-image.is-style-fancy .components-resizable-box__container:after {
 	right: -1px;
 	left: auto;
 	-webkit-transform: rotate(-180deg);
@@ -238,8 +238,6 @@ Description: Gutenberg Block Editor Styles
 			transform: rotate(-180deg);
 }
 
-
-
 /* Quote */
 
 .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large) {