Commit aa9dc8b 1 parent 6ef284f commit aa9dc8b Copy full SHA for aa9dc8b
File tree 1 file changed +22
-11
lines changed
src/containers/apps/appDetails
1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import {
19
19
Typography ,
20
20
} from 'antd'
21
21
import classnames from 'classnames'
22
- import { ReactNode , RefObject } from 'react'
22
+ import { RefObject } from 'react'
23
23
import { connect } from 'react-redux'
24
24
import { RouteComponentProps } from 'react-router'
25
25
import ApiManager from '../../../api/ApiManager'
@@ -196,18 +196,29 @@ class AppDetails extends ApiComponent<
196
196
< div
197
197
style = { {
198
198
position : 'absolute' ,
199
- padding : 12 ,
200
- right : 12 ,
199
+ margin : 18 ,
200
+ left : 0 ,
201
+ right : 0 ,
201
202
top : 0 ,
202
203
} }
203
204
>
204
- < ClickableLink onLinkClicked = { ( ) => self . goBackToApps ( ) } >
205
- < Tooltip
206
- title = { localize ( 'apps.close_tooltip' , 'Close' ) }
207
- >
208
- < CloseOutlined />
209
- </ Tooltip >
210
- </ ClickableLink >
205
+ < Row justify = { 'end' } >
206
+ < Col >
207
+ { ' ' }
208
+ < ClickableLink
209
+ onLinkClicked = { ( ) => self . goBackToApps ( ) }
210
+ >
211
+ < Tooltip
212
+ title = { localize (
213
+ 'apps.close_tooltip' ,
214
+ 'Close'
215
+ ) }
216
+ >
217
+ < CloseOutlined />
218
+ </ Tooltip >
219
+ </ ClickableLink >
220
+ </ Col >
221
+ </ Row >
211
222
</ div >
212
223
< div > { self . createProjectBreadcrumbs ( ) } </ div >
213
224
@@ -529,7 +540,7 @@ class AppDetails extends ApiComponent<
529
540
)
530
541
}
531
542
532
- createEditAppModal ( ) : ReactNode {
543
+ createEditAppModal ( ) {
533
544
const self = this
534
545
535
546
const editAppDataForModal = self . state . editAppDataForModal
You can’t perform that action at this time.
0 commit comments