Skip to content

Commit

Permalink
[ML] Fix alignment of values in data frame analytics results view bad…
Browse files Browse the repository at this point in the history
…ges (#86621)
  • Loading branch information
peteharverson committed Dec 22, 2020
1 parent 876e859 commit 7b85d14
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,18 @@ export const ExpandableSection: FC<ExpandableSectionProps> = ({
>
{label !== undefined && value !== undefined && (
<>
<EuiText size="xs" color="subdued">
<p>{label}</p>
</EuiText>
<EuiBadge>{value}</EuiBadge>
<EuiFlexGroup>
<EuiFlexItem grow={false}>
<EuiText size="xs" color="subdued">
<p>{label}</p>
</EuiText>
</EuiFlexItem>
</EuiFlexGroup>
<EuiFlexGroup>
<EuiFlexItem grow={false}>
<EuiBadge>{value}</EuiBadge>
</EuiFlexItem>
</EuiFlexGroup>
</>
)}
{label === undefined && (
Expand Down

0 comments on commit 7b85d14

Please sign in to comment.