Skip to content

Commit

Permalink
Fix bug with EuiPageSideBar width. (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal authored Dec 4, 2017
1 parent 0901c45 commit e3204f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

- Fixed bug where screen-reader styles weren't being imported [(#103)](https://github.com/elastic/eui/pull/103)
- Fixed a bug where `<progress>` wasn't being rendered under `block` display [(#166)](https://github.com/elastic/eui/pull/166)
- Fixed a bug that caused `<EuiPageSideBar>` width to change when the width of its content changed [(#181)](https://github.com/elastic/eui/pull/181)

**Breaking**

Expand Down
6 changes: 5 additions & 1 deletion src/components/page/page_side_bar/_page_side_bar.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/**
* 1. Prevent side bar width from changing when content width changes.
*/
.euiPageSideBar {
width: $euiSize * 12;
min-width: $euiSize * 12; /* 1 */
flex: 0 0 0; /* 1 */
margin-right: $euiSizeL;
}

Expand Down

0 comments on commit e3204f8

Please sign in to comment.