Skip to content

Commit

Permalink
move button to bottom of form
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Apr 24, 2020
1 parent 29b8810 commit f6b9b94
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,6 @@ export function NavigationPanel({ center, settings, updateMapSetting, zoom }: Pr

return (
<>
<EuiFlexGroup justifyContent="flexEnd">
<EuiFlexItem grow={false}>
<EuiButtonEmpty onClick={useCurrentView}>
<FormattedMessage
id="xpack.maps.mapSettingsPanel.useCurrentViewBtnLabel"
defaultMessage="Set to current view"
/>
</EuiButtonEmpty>
</EuiFlexItem>
</EuiFlexGroup>
<EuiFormRow
label={i18n.translate('xpack.maps.mapSettingsPanel.initialLatLabel', {
defaultMessage: 'Initial latitude',
Expand All @@ -155,6 +145,16 @@ export function NavigationPanel({ center, settings, updateMapSetting, zoom }: Pr
<EuiFieldNumber value={settings.initialLon} onChange={onInitialLonChange} compressed />
</EuiFormRow>
{zoomFormRow}
<EuiFlexGroup justifyContent="flexEnd">
<EuiFlexItem grow={false}>
<EuiButtonEmpty onClick={useCurrentView}>
<FormattedMessage
id="xpack.maps.mapSettingsPanel.useCurrentViewBtnLabel"
defaultMessage="Set to current view"
/>
</EuiButtonEmpty>
</EuiFlexItem>
</EuiFlexGroup>
</>
);
}
Expand Down

0 comments on commit f6b9b94

Please sign in to comment.