Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Stats bar for data frame analytics #49464

Merged
merged 11 commits into from
Nov 12, 2019
Prev Previous commit
Next Next commit
[ML] alight stats position
  • Loading branch information
darnautov committed Nov 11, 2019
commit 1b2e26bcc2487a4ebab3832be5f697e75bad0b1e
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,13 @@ export const Page: FC = () => {
/>
</h1>
</EuiTitle>
{stats && (
<div style={{ margin: '0 -14px' }}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably best not to use inline style when we can help it.

<StatsBar stats={stats} dataTestSub={'mlAnalyticsStatsBar'} />
</div>
)}
</EuiPageContentHeaderSection>
<EuiPageContentHeaderSection>
{stats && <StatsBar stats={stats} dataTestSub={'mlAnalyticsStatsBar'} />}
<EuiFlexGroup alignItems="center">
{/* grow={false} fixes IE11 issue with nested flex */}
<EuiFlexItem grow={false}>
Expand Down