File tree Expand file tree Collapse file tree
src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components
x-pack/plugins/snapshot_restore/public/application/sections Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ interface Props {
1515 title : React . ReactNode ;
1616 error : Error ;
1717 actions ?: JSX . Element ;
18- centerErrorContent ?: boolean ;
18+ isCentered ?: boolean ;
1919}
2020
2121/*
@@ -29,7 +29,7 @@ export const PageError: React.FunctionComponent<Props> = ({
2929 title,
3030 error,
3131 actions,
32- centerErrorContent ,
32+ isCentered ,
3333 ...rest
3434} ) => {
3535 const {
@@ -64,7 +64,7 @@ export const PageError: React.FunctionComponent<Props> = ({
6464 </ EuiPageContent >
6565 ) ;
6666
67- if ( centerErrorContent ) {
67+ if ( isCentered ) {
6868 return < div className = { APP_WRAPPER_CLASS } > { errorContent } </ div > ;
6969 }
7070
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export const PolicyAdd: React.FunctionComponent<RouteComponentProps> = ({
113113 }
114114
115115 return (
116- < EuiPageContentBody >
116+ < EuiPageContentBody restrictWidth style = { { width : '100%' } } >
117117 < EuiPageHeader
118118 pageTitle = {
119119 < span data-test-subj = "pageTitle" >
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ export const PolicyEdit: React.FunctionComponent<RouteComponentProps<MatchParams
193193 }
194194
195195 return (
196- < EuiPageContentBody >
196+ < EuiPageContentBody restrictWidth style = { { width : '100%' } } >
197197 < EuiPageHeader
198198 pageTitle = {
199199 < span data-test-subj = "pageTitle" >
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export const RepositoryAdd: React.FunctionComponent<RouteComponentProps> = ({
7979 } ;
8080
8181 return (
82- < EuiPageContentBody >
82+ < EuiPageContentBody restrictWidth style = { { width : '100%' } } >
8383 < EuiPageHeader
8484 pageTitle = {
8585 < span data-test-subj = "pageTitle" >
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ export const RepositoryEdit: React.FunctionComponent<RouteComponentProps<MatchPa
147147 } ;
148148
149149 return (
150- < EuiPageContentBody >
150+ < EuiPageContentBody restrictWidth style = { { width : '100%' } } >
151151 < EuiPageHeader
152152 pageTitle = {
153153 < span data-test-subj = "pageTitle" >
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ export const RestoreSnapshot: React.FunctionComponent<RouteComponentProps<MatchP
144144 }
145145
146146 return (
147- < EuiPageContentBody >
147+ < EuiPageContentBody restrictWidth style = { { width : '100%' } } >
148148 < EuiPageHeader
149149 pageTitle = {
150150 < span data-test-subj = "pageTitle" >
You can’t perform that action at this time.
0 commit comments