Skip to content

Commit

Permalink
Remove EuiFlexGroup dependency from EuiAccordion (#2143)
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos authored Jul 22, 2019
1 parent 2933a88 commit 4f4a698
Show file tree
Hide file tree
Showing 6 changed files with 217 additions and 317 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Added `EuiSuggestItem` component ([#2090](https://github.com/elastic/eui/pull/2090))
- Added support for negated or clauses to `EuiSearchBar` ([#2140](https://github.com/elastic/eui/pull/2140))
- Added `transition` utility services to help create timeouts that account for CSS transition durations and delays ([#2136](https://github.com/elastic/eui/pull/2136))
- Removed `EuiFlexGroup` dependency from `EuiAccordion` ([#2143](https://github.com/elastic/eui/pull/2143))

**Bug fixes**

Expand Down
2 changes: 1 addition & 1 deletion src-docs/src/views/accordion/accordion_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const repeatableForm = (

const buttonContent = (
<div>
<EuiFlexGroup gutterSize="s" alignItems="center">
<EuiFlexGroup gutterSize="s" alignItems="center" responsive={false}>
<EuiFlexItem grow={false}>
<EuiIcon type="logoWebhook" size="m" />
</EuiFlexItem>
Expand Down
3 changes: 2 additions & 1 deletion src-docs/src/views/accordion/accordion_multiple.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export default () => (

<EuiAccordion
id="accordion2"
buttonContent="A second accordion with padding"
buttonContent="A second accordion with padding and a very long title that should truncate because of eui-textTruncate"
buttonContentClassName="eui-textTruncate"
paddingSize="l">
<EuiText>
<p>The content inside can be of any height.</p>
Expand Down
Loading

0 comments on commit 4f4a698

Please sign in to comment.