Skip to content

Commit ff77a9b

Browse files
address review feedback
1 parent eeffee5 commit ff77a9b

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

x-pack/plugins/snapshot_restore/public/application/sections/policy_add/policy_add.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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">

x-pack/plugins/snapshot_restore/public/application/sections/policy_edit/policy_edit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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">

x-pack/plugins/snapshot_restore/public/application/sections/repository_add/repository_add.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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">

x-pack/plugins/snapshot_restore/public/application/sections/repository_edit/repository_edit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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">

x-pack/plugins/snapshot_restore/public/application/sections/restore_snapshot/restore_snapshot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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">

0 commit comments

Comments
 (0)