mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Lens] Fixes the styling issue of dropping a geo field (#137510)
This commit is contained in:
parent
3f0d32147b
commit
c26e085c92
1 changed files with 24 additions and 22 deletions
|
@ -46,28 +46,30 @@ export function GeoFieldWorkspacePanel(props: Props) {
|
|||
return (
|
||||
<EuiPageContentBody className="lnsWorkspacePanelWrapper__pageContentBody">
|
||||
<EuiText className="lnsWorkspacePanel__emptyContent" textAlign="center" size="s">
|
||||
<h2>
|
||||
<strong>{getVisualizeGeoFieldMessage(props.fieldType)}</strong>
|
||||
</h2>
|
||||
<GlobeIllustration aria-hidden={true} className="lnsWorkspacePanel__promptIllustration" />
|
||||
<DragDrop
|
||||
className="lnsVisualizeGeoFieldWorkspacePanel__dragDrop"
|
||||
dataTestSubj="lnsGeoFieldWorkspace"
|
||||
draggable={false}
|
||||
dropTypes={['field_add']}
|
||||
order={dragDropOrder}
|
||||
value={dragDropIdentifier}
|
||||
onDrop={onDrop}
|
||||
>
|
||||
<p>
|
||||
<strong>
|
||||
<FormattedMessage
|
||||
id="xpack.lens.geoFieldWorkspace.dropMessage"
|
||||
defaultMessage="Drop field here to open in Maps"
|
||||
/>
|
||||
</strong>
|
||||
</p>
|
||||
</DragDrop>
|
||||
<div>
|
||||
<h2>
|
||||
<strong>{getVisualizeGeoFieldMessage(props.fieldType)}</strong>
|
||||
</h2>
|
||||
<GlobeIllustration aria-hidden={true} className="lnsWorkspacePanel__promptIllustration" />
|
||||
<DragDrop
|
||||
className="lnsVisualizeGeoFieldWorkspacePanel__dragDrop"
|
||||
dataTestSubj="lnsGeoFieldWorkspace"
|
||||
draggable={false}
|
||||
dropTypes={['field_add']}
|
||||
order={dragDropOrder}
|
||||
value={dragDropIdentifier}
|
||||
onDrop={onDrop}
|
||||
>
|
||||
<p>
|
||||
<strong>
|
||||
<FormattedMessage
|
||||
id="xpack.lens.geoFieldWorkspace.dropMessage"
|
||||
defaultMessage="Drop field here to open in Maps"
|
||||
/>
|
||||
</strong>
|
||||
</p>
|
||||
</DragDrop>
|
||||
</div>
|
||||
</EuiText>
|
||||
</EuiPageContentBody>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue