Skip to content

Commit

Permalink
[APM] Fix wide button sizes in ml callout (#146571)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpatticha authored Nov 29, 2022
1 parent fdcefb7 commit 36808ec
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 36808ec

Please sign in to comment.