diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx index 46cd0292f2459..238cf80caed94 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx @@ -7,12 +7,14 @@ import './layer_panel.scss'; import React, { useContext, useState, useEffect } from 'react'; import { + EuiLink, EuiPanel, EuiSpacer, EuiButtonIcon, EuiFlexGroup, EuiFlexItem, EuiButtonEmpty, + EuiIcon, EuiFormRow, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; @@ -381,35 +383,40 @@ export function LayerPanel( accessor={newId} groupId={group.groupId} trigger={ -
- { - if (dimensionContainerState.isOpen) { - setDimensionContainerState(initialDimensionContainerState); - } else { - setDimensionContainerState({ - isOpen: true, - openId: newId, - addingToGroupId: group.groupId, - }); - } - }} - size="xs" - > - - -
+ { + if (dimensionContainerState.isOpen) { + setDimensionContainerState(initialDimensionContainerState); + } else { + setDimensionContainerState({ + isOpen: true, + openId: newId, + addingToGroupId: group.groupId, + }); + } + }} + > + + {/* Empty for spacing */} + + + + + + + + } panelTitle={i18n.translate('xpack.lens.configure.configurePanelTitle', { defaultMessage: '{groupLabel} configuration',