Date: Wed, 29 Nov 2023 18:16:12 -0500
Subject: [PATCH 5/7] remove unneeded div and style
---
.../components/colors-gradients/control.js | 66 +++++++++----------
.../components/colors-gradients/style.scss | 6 --
2 files changed, 32 insertions(+), 40 deletions(-)
diff --git a/packages/block-editor/src/components/colors-gradients/control.js b/packages/block-editor/src/components/colors-gradients/control.js
index ab43291b8a2e1f..9591b96838a120 100644
--- a/packages/block-editor/src/components/colors-gradients/control.js
+++ b/packages/block-editor/src/components/colors-gradients/control.js
@@ -129,42 +129,40 @@ function ColorGradientControlInner( {
) }
{ canChooseAColor && canChooseAGradient && (
-
-
+
+
+ { __( 'Solid' ) }
+
+
+ { __( 'Gradient' ) }
+
+
+
-
-
- { __( 'Solid' ) }
-
-
- { __( 'Gradient' ) }
-
-
-
- { tabPanels.color }
-
-
- { tabPanels.gradient }
-
-
-
+ { tabPanels.color }
+