Skip to content

Commit

Permalink
IE11 centering issue in dashboard list (#21841)
Browse files Browse the repository at this point in the history
Fixes a display regression with internet explorer.
  • Loading branch information
snide authored Aug 9, 2018
1 parent e0fba82 commit 6af72b7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ exports[`after fetch hideWriteControls 1`] = `
<EuiPage
className="dashboardLandingPage"
data-test-subj="dashboardLandingPage"
restrictWidth={false}
restrictWidth={true}
>
<EuiPageBody
restrictWidth={true}
restrictWidth={false}
>
<EuiPageContent
horizontalPosition="center"
Expand All @@ -34,10 +34,10 @@ exports[`after fetch initialFilter 1`] = `
<EuiPage
className="dashboardLandingPage"
data-test-subj="dashboardLandingPage"
restrictWidth={false}
restrictWidth={true}
>
<EuiPageBody
restrictWidth={true}
restrictWidth={false}
>
<EuiPageContent
horizontalPosition="center"
Expand Down Expand Up @@ -186,10 +186,10 @@ exports[`after fetch renders call to action when no dashboards exist 1`] = `
<EuiPage
className="dashboardLandingPage"
data-test-subj="dashboardLandingPage"
restrictWidth={false}
restrictWidth={true}
>
<EuiPageBody
restrictWidth={true}
restrictWidth={false}
>
<EuiPageContent
horizontalPosition="center"
Expand Down Expand Up @@ -246,10 +246,10 @@ exports[`after fetch renders table rows 1`] = `
<EuiPage
className="dashboardLandingPage"
data-test-subj="dashboardLandingPage"
restrictWidth={false}
restrictWidth={true}
>
<EuiPageBody
restrictWidth={true}
restrictWidth={false}
>
<EuiPageContent
horizontalPosition="center"
Expand Down Expand Up @@ -398,10 +398,10 @@ exports[`after fetch renders warning when listingLimit is exceeded 1`] = `
<EuiPage
className="dashboardLandingPage"
data-test-subj="dashboardLandingPage"
restrictWidth={false}
restrictWidth={true}
>
<EuiPageBody
restrictWidth={true}
restrictWidth={false}
>
<EuiPageContent
horizontalPosition="center"
Expand Down Expand Up @@ -581,10 +581,10 @@ exports[`renders empty page in before initial fetch to avoid flickering 1`] = `
<EuiPage
className="dashboardLandingPage"
data-test-subj="dashboardLandingPage"
restrictWidth={false}
restrictWidth={true}
>
<EuiPageBody
restrictWidth={true}
restrictWidth={false}
/>
</EuiPage>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ export class DashboardListing extends React.Component {

render() {
return (
<EuiPage data-test-subj="dashboardLandingPage" className="dashboardLandingPage">
<EuiPageBody restrictWidth>
<EuiPage data-test-subj="dashboardLandingPage" className="dashboardLandingPage" restrictWidth>
<EuiPageBody>
{this.renderPageContent()}
</EuiPageBody>
</EuiPage>
Expand Down

0 comments on commit 6af72b7

Please sign in to comment.