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

EuiHealth responsive fix #530

Merged
merged 2 commits into from
Mar 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

**Bug fixes**

- `EuiHealth` no longer stacks flex items on small screens ([#530](https://github.com/elastic/eui/pull/530))
- Fix `EuiPageContent` centering within `EuiPage` issue ([#527](https://github.com/elastic/eui/pull/527))

# [`0.0.28`](https://github.com/elastic/eui/tree/v0.0.28)
Expand Down
2 changes: 1 addition & 1 deletion src/components/health/__snapshots__/health.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`EuiHealth is rendered 1`] = `
data-test-subj="test subject string"
>
<div
class="euiFlexGroup euiFlexGroup--gutterExtraSmall euiFlexGroup--alignItemsCenter euiFlexGroup--responsive"
class="euiFlexGroup euiFlexGroup--gutterExtraSmall euiFlexGroup--alignItemsCenter"
>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
Expand Down
6 changes: 5 additions & 1 deletion src/components/health/health.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ export const EuiHealth = ({
className={classes}
{...rest}
>
<EuiFlexGroup gutterSize="xs" alignItems="center">
<EuiFlexGroup
gutterSize="xs"
alignItems="center"
responsive={false}
>
<EuiFlexItem grow={false}>
<EuiIcon type="dot" color={color} />
</EuiFlexItem>
Expand Down