Skip to content

Commit

Permalink
EuiHealth responsive fix (#530)
Browse files Browse the repository at this point in the history
* fix euihealth responsive
  • Loading branch information
snide authored Mar 16, 2018
1 parent 38ab7ca commit e0432ba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ No public interface changes since `0.0.29`.

**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))
- `EuiConfirmModal` will now correctly auto-focus on its confirm and cancel buttons (#529[](https://github.com/elastic/eui/pull/529))

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

0 comments on commit e0432ba

Please sign in to comment.