Skip to content

Commit

Permalink
[APM] Fix flex grid in callout
Browse files Browse the repository at this point in the history
  • Loading branch information
kpatticha committed Nov 29, 2022
1 parent 9eee4c3 commit bf08495
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
EuiButton,
EuiButtonEmpty,
EuiCallOut,
EuiFlexGrid,
EuiFlexGroup,
EuiFlexItem,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
Expand Down Expand Up @@ -167,7 +167,7 @@ export function MLCallout({
const hasAnyActions = properties.primaryAction || dismissable;

const actions = hasAnyActions ? (
<EuiFlexGrid gutterSize="s">
<EuiFlexGroup gutterSize="s" justifyContent="spaceBetween">
{properties.primaryAction && (
<EuiFlexItem grow={false}>{properties.primaryAction}</EuiFlexItem>
)}
Expand All @@ -180,7 +180,7 @@ export function MLCallout({
</EuiButtonEmpty>
</EuiFlexItem>
)}
</EuiFlexGrid>
</EuiFlexGroup>
) : null;

return (
Expand Down

0 comments on commit bf08495

Please sign in to comment.