Skip to content

Commit

Permalink
Temporarily removing page responsive styles (#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos authored Jul 13, 2018
1 parent d4fec84 commit eb83f31
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Added `prepend` and `append` props to `EuiFormControlLayout` ([#961](https://github.com/elastic/eui/pull/961))
- Updated style implementation of `EuiFilterGroup` and `EuiFilterGroupButton` ([#961](https://github.com/elastic/eui/pull/961))
- Added `EuiDatePickerRange` as a way to layout two `EuiDatePicker`s. ([#961](https://github.com/elastic/eui/pull/961))
- Temporarily removed `EuiPage` responsive styles ([#1014](https://github.com/elastic/eui/pull/1014))

**Breaking changes**

Expand Down
2 changes: 1 addition & 1 deletion src/components/page/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

@include euiBreakpoint('xs', 's') {
flex-direction: column;
padding: 0;
// padding: 0; temporarily removing
}
}
9 changes: 5 additions & 4 deletions src/components/page/page_content/_page_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
// At small screens, the content extends edge to edge, so remove the side borders and shadow
@include euiBreakpoint('xs', 's') {
&.euiPanel:not(.euiPageContent--horizontalCenter) { // Override panel styles without the need for !important
border-radius: 0;
border-left: none;
border-right: none;
box-shadow: none;
// Temporarily removing
// border-radius: 0;
// border-left: none;
// border-right: none;
// box-shadow: none;
}
}
}
2 changes: 1 addition & 1 deletion src/components/page/page_header/_page_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@include euiBreakpoint('xs','s') {
.euiPageHeader {
padding: $euiSize;
padding: $euiSize 0;
margin-bottom: 0;
}

Expand Down

0 comments on commit eb83f31

Please sign in to comment.