Skip to content

Commit

Permalink
Propagate className in EuiCodeBlock in fullscreen mode (#1422)
Browse files Browse the repository at this point in the history
  • Loading branch information
pugnascotia authored Jan 10, 2019
1 parent ce1dc7c commit b686fc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Added `isAutoRefreshOnly` prop to `EuiSuperDatePicker` ([#1412](https://github.com/elastic/eui/pull/1412))
- Migrate remaining files in `accessiblity/` to TS ([#1408](https://github.com/elastic/eui/pull/1408))
- Added `titleProps` and `descriptionProps` to `EuiDescriptionList` ([#1419](https://github.com/elastic/eui/pull/1419))
- Propagate `className` on `EuiCodeBlock` in fullscreen mode ([#1422](https://github.com/elastic/eui/pull/1422))

**Bug fixes**

Expand Down
1 change: 1 addition & 0 deletions src/components/code/_code_block.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export class EuiCodeBlockImpl extends Component {
fontSizeToClassNameMap[fontSize],
'euiCodeBlock-paddingLarge',
'euiCodeBlock-isFullScreen',
className,
);

fullScreenDisplay = (
Expand Down

0 comments on commit b686fc7

Please sign in to comment.