Skip to content

Commit

Permalink
Added fullWidth prop to EuiButton (elastic#1665)
Browse files Browse the repository at this point in the history
and .. Added `.eui-fullWidth` utility class
  • Loading branch information
cchaos authored and ryankeairns committed Mar 8, 2019
1 parent 0fa6942 commit 381e64f
Show file tree
Hide file tree
Showing 23 changed files with 722 additions and 460 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- Converted `EuiFlexGrid`, `EuiFlexGroup`, `EuiFlexItem`, `EuiDescriptionList`, `EuiDescriptionListTitle`, and `EuiDescriptionListDescription` to TypeScript ([#1365](https://github.com/elastic/eui/pull/1365))
- Converted `EuiAvatar` to Typescript ([#1654](https://github.com/elastic/eui/pull/1654))
- Added missing `anchorClassName` prop to `EuiToolTip` definition ([#1657](https://github.com/elastic/eui/pull/1657))
- Added `fullWidth` prop to `EuiButton` ([#1665](https://github.com/elastic/eui/pull/1665))
- Added `.eui-fullWidth` utility class ([#1665](https://github.com/elastic/eui/pull/1665))

## [`9.0.1`](https://github.com/elastic/eui/tree/v9.0.1)

Expand Down
1 change: 1 addition & 0 deletions src-docs/src/views/form_layouts/inline_popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export default class extends Component {
name="poprange"
/>
</EuiFormRow>
<EuiButton fullWidth>Save</EuiButton>
</EuiForm>
);

Expand Down
2 changes: 1 addition & 1 deletion src-docs/src/views/list_group/list_group.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class extends Component {

<EuiSpacer size="l" />

<EuiListGroup flush={flushWidth} bordered={showBorder}>
<EuiListGroup flush={flushWidth} bordered={showBorder} showToolTips>
<EuiListGroupItem
label="First item"
/>
Expand Down
Loading

0 comments on commit 381e64f

Please sign in to comment.