diff --git a/packages/components/src/border-box-control/border-box-control-split-controls/component.tsx b/packages/components/src/border-box-control/border-box-control-split-controls/component.tsx index d24c0bf2603f9d..9949eda48a6888 100644 --- a/packages/components/src/border-box-control/border-box-control-split-controls/component.tsx +++ b/packages/components/src/border-box-control/border-box-control-split-controls/component.tsx @@ -9,6 +9,7 @@ import { useMergeRefs } from '@wordpress/compose'; * Internal dependencies */ import BorderBoxControlVisualizer from '../border-box-control-visualizer'; +import Tooltip from '../../tooltip'; import { BorderControl } from '../../border-control'; import { Grid } from '../../grid'; import { contextConnect, WordPressComponentProps } from '../../ui/context'; @@ -64,41 +65,62 @@ const BorderBoxControlSplitControls = ( value={ value } __next36pxDefaultSize={ __next36pxDefaultSize } /> - onChange( newBorder, 'top' ) } - __unstablePopoverProps={ popoverProps } - value={ value?.top } - { ...sharedBorderControlProps } - /> - onChange( newBorder, 'left' ) } - __unstablePopoverProps={ popoverProps } - value={ value?.left } - { ...sharedBorderControlProps } - /> - onChange( newBorder, 'right' ) } - __unstablePopoverProps={ popoverProps } - value={ value?.right } - { ...sharedBorderControlProps } - /> - onChange( newBorder, 'bottom' ) } - __unstablePopoverProps={ popoverProps } - value={ value?.bottom } - { ...sharedBorderControlProps } - /> + +
+ + onChange( newBorder, 'top' ) + } + __unstablePopoverProps={ popoverProps } + value={ value?.top } + { ...sharedBorderControlProps } + /> +
+
+ +
+ + onChange( newBorder, 'left' ) + } + __unstablePopoverProps={ popoverProps } + value={ value?.left } + { ...sharedBorderControlProps } + /> +
+
+ +
+ + onChange( newBorder, 'right' ) + } + __unstablePopoverProps={ popoverProps } + value={ value?.right } + { ...sharedBorderControlProps } + /> +
+
+ +
+ + onChange( newBorder, 'bottom' ) + } + __unstablePopoverProps={ popoverProps } + value={ value?.bottom } + { ...sharedBorderControlProps } + /> +
+
); };