[6.4] IE11 centering issue in dashboard list (#21841) (#21854)

* IE11 centering issue in dashboard list (#21841)
This commit is contained in:
dave.snider@gmail.com 2018-08-10 13:10:42 -07:00 committed by GitHub
parent d60bb6b26a
commit fdc5172c69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View file

@ -4,7 +4,7 @@ exports[`after fetch hideWriteControls 1`] = `
<EuiPage
className="dashboardLandingPage"
data-test-subj="dashboardLandingPage"
restrictWidth={false}
restrictWidth={true}
>
<EuiPageBody
restrictWidth={false}
@ -35,7 +35,7 @@ exports[`after fetch initialFilter 1`] = `
<EuiPage
className="dashboardLandingPage"
data-test-subj="dashboardLandingPage"
restrictWidth={false}
restrictWidth={true}
>
<EuiPageBody
restrictWidth={false}
@ -188,7 +188,7 @@ 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={false}
@ -249,7 +249,7 @@ exports[`after fetch renders table rows 1`] = `
<EuiPage
className="dashboardLandingPage"
data-test-subj="dashboardLandingPage"
restrictWidth={false}
restrictWidth={true}
>
<EuiPageBody
restrictWidth={false}
@ -402,7 +402,7 @@ exports[`after fetch renders warning when listingLimit is exceeded 1`] = `
<EuiPage
className="dashboardLandingPage"
data-test-subj="dashboardLandingPage"
restrictWidth={false}
restrictWidth={true}
>
<EuiPageBody
restrictWidth={false}
@ -586,7 +586,7 @@ 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={false}

View file

@ -462,8 +462,7 @@ export class DashboardListing extends React.Component {
render() {
return (
<EuiPage data-test-subj="dashboardLandingPage" className="dashboardLandingPage">
{/* TODO: add restrictWidth prop on EuiPageBody here when EUI@3.0.2 is applied */}
<EuiPage data-test-subj="dashboardLandingPage" className="dashboardLandingPage" restrictWidth>
<EuiPageBody>
{this.renderPageContent()}
</EuiPageBody>