wp/wp-includes/blocks/spacer/editor.css
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
--- a/wp/wp-includes/blocks/spacer/editor.css	Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/blocks/spacer/editor.css	Tue Sep 27 16:37:53 2022 +0200
@@ -41,6 +41,12 @@
  * These variables do not appear to be used anywhere else.
  */
 /**
+*  Converts a hex value into the rgb equivalent.
+*
+* @param {string} hex - the hexadecimal value to convert
+* @return {string} comma separated rgb values
+*/
+/**
  * Breakpoint mixins
  */
 /**
@@ -72,9 +78,11 @@
   content: "";
   display: block;
   position: absolute;
+  z-index: 1;
   width: 100%;
-  height: 24px;
-  transform: translateY(-12px);
+  min-height: 8px;
+  min-width: 8px;
+  height: 100%;
 }
 
 .wp-block-spacer.is-hovered .block-library-spacer__resize-container,
@@ -89,6 +97,10 @@
 .block-library-spacer__resize-container {
   clear: both;
 }
+.block-library-spacer__resize-container:not(.is-resizing) {
+  height: 100% !important;
+  width: 100% !important;
+}
 .block-library-spacer__resize-container .components-resizable-box__handle::before {
   content: none;
 }