Skip to content

Commit

Permalink
Fixing IE
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Jul 11, 2018
1 parent 169fa5e commit f92133f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
8 changes: 6 additions & 2 deletions src-docs/src/components/guide_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ $guideZLevelHighest: $euiZLevel9 + 1000;

.guidePage {
padding: 0;

@include euiBreakpoint('xs', 's') {
display: block; // Fixes IE
}
}

.guideSideNav {
Expand Down Expand Up @@ -39,7 +43,7 @@ $guideZLevelHighest: $euiZLevel9 + 1000;
}

.guidePageContent {
flex: 1 1 0%;
flex: 1 1 auto;
padding: $euiSize $euiSizeXL;
min-height: 100vh;
background-color: $euiColorEmptyShade;
Expand All @@ -49,7 +53,7 @@ $guideZLevelHighest: $euiZLevel9 + 1000;
}

.guideDemo__highlightLayout {
.euiPage {
.euiPageBody {
min-height: 460px;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/page/page_body/_page_body.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
display: flex;
flex-direction: column;
align-items: stretch;
flex-grow: 1;
flex: 1 1 0%;
}

1 change: 1 addition & 0 deletions src/components/page/page_content/_page_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

&.euiPageContent--horizontalCenter {
width: auto;
max-width: 100%; // Fixes IE
margin: auto;
flex-grow: 0; // Offsets the properties of .euiPanel within flexboxes
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/page/page_content/_page_content_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
@include euiBreakpoint('xs','s') {
.euiPageContentHeader--responsive {
flex-direction: column;
align-items: unset;
align-items: flex-start;
}
}
2 changes: 1 addition & 1 deletion src/components/page/page_side_bar/_page_side_bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
.euiPageSideBar {
min-width: $euiSize * 12; /* 1 */
flex: 0 0 0; /* 1 */
flex: 0 1 0%; /* 1 */
margin-right: $euiSizeL;
}

Expand Down

0 comments on commit f92133f

Please sign in to comment.