File tree Expand file tree Collapse file tree
x-pack/plugins/index_management/public/application/sections/home/index_list/details_page Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ import {
1515 EuiPageHeaderProps ,
1616 EuiPageSection ,
1717 EuiButton ,
18+ EuiFlexGroup ,
19+ EuiFlexItem ,
1820} from '@elastic/eui' ;
1921import { SectionLoading } from '@kbn/es-ui-shared-plugin/public' ;
2022
@@ -110,36 +112,38 @@ export const DetailsPage: React.FunctionComponent<
110112 return (
111113 < >
112114 < EuiPageSection paddingSize = "none" >
113- < EuiButton
114- data-test-subj = "indexDetailsBackToIndicesButton"
115- color = "text"
116- iconType = "arrowLeft"
117- onClick = { navigateToAllIndices }
118- >
119- < FormattedMessage
120- id = "xpack.idxMgmt.indexDetails.backToIndicesButtonLabel"
121- defaultMessage = "Back to all indices"
122- />
123- </ EuiButton >
124- </ EuiPageSection >
125-
126- < EuiSpacer size = "l" />
127-
128- < EuiPageHeader
129- data-test-subj = "indexDetailsHeader"
130- pageTitle = {
131- < >
132- { indexName }
133- { isLoading && (
115+ < EuiFlexGroup >
116+ < EuiFlexItem grow = { false } >
117+ < EuiButton
118+ data-test-subj = "indexDetailsBackToIndicesButton"
119+ color = "text"
120+ iconType = "arrowLeft"
121+ onClick = { navigateToAllIndices }
122+ >
123+ < FormattedMessage
124+ id = "xpack.idxMgmt.indexDetails.backToIndicesButtonLabel"
125+ defaultMessage = "Back to all indices"
126+ />
127+ </ EuiButton >
128+ </ EuiFlexItem >
129+ { isLoading && (
130+ < EuiFlexItem >
134131 < SectionLoading inline = { true } >
135132 < FormattedMessage
136133 id = "xpack.idxMgmt.indexDetails.reloadingDescription"
137134 defaultMessage = "Re-loading index details…"
138135 />
139136 </ SectionLoading >
140- ) }
141- </ >
142- }
137+ </ EuiFlexItem >
138+ ) }
139+ </ EuiFlexGroup >
140+ </ EuiPageSection >
141+
142+ < EuiSpacer size = "l" />
143+
144+ < EuiPageHeader
145+ data-test-subj = "indexDetailsHeader"
146+ pageTitle = { indexName }
143147 bottomBorder
144148 rightSideItems = { [
145149 < DiscoverLink indexName = { indexName } asButton = { true } /> ,
You can’t perform that action at this time.
0 commit comments