Skip to content

Commit

Permalink
[ML] Data frame analytics: Updates Results Explorer flyout footer but…
Browse files Browse the repository at this point in the history
…tons alignment (elastic#204735)

Fix for: [elastic#204601](elastic#204601)

After:

Results explorer:

<img width="1074" alt="image"
src="https://github.com/user-attachments/assets/fd35934a-7136-4d77-8ef6-9b490b9c2436"
/>

Analytics map:

<img width="1074" alt="image"
src="https://github.com/user-attachments/assets/9ecaf66b-1aa0-4d6a-b537-926a0421bed7"
/>
  • Loading branch information
rbrtj authored and stratoula committed Jan 2, 2025
1 parent 3d370ad commit 2c261d9
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,18 @@ export function AnalyticsIdSelector({
</EuiFlyoutHeader>
<EuiFlyoutBody data-test-subj={'mlJobSelectorFlyoutBody'}>{renderTabs()}</EuiFlyoutBody>
<EuiFlyoutFooter>
<EuiFlexGroup>
<EuiFlexGroup justifyContent="spaceBetween">
<EuiFlexItem grow={false}>
<EuiButtonEmpty
iconType="cross"
onClick={closeFlyout}
data-test-subj="mlFlyoutAnalyticsSelectorButtonClose"
>
{i18n.translate('xpack.ml.analyticsSelector.closeFlyoutButton', {
defaultMessage: 'Close',
})}
</EuiButtonEmpty>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiButton
onClick={applySelection}
Expand All @@ -295,17 +306,6 @@ export function AnalyticsIdSelector({
/>
</EuiButton>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiButtonEmpty
iconType="cross"
onClick={closeFlyout}
data-test-subj="mlFlyoutAnalyticsSelectorButtonClose"
>
{i18n.translate('xpack.ml.analyticsSelector.closeFlyoutButton', {
defaultMessage: 'Close',
})}
</EuiButtonEmpty>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlyoutFooter>
</EuiFlyout>
Expand Down

0 comments on commit 2c261d9

Please sign in to comment.