Skip to content

Commit aa9dc8b

Browse files
committed
Another fix for RTL
1 parent 6ef284f commit aa9dc8b

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

src/containers/apps/appDetails/AppDetails.tsx

+22-11
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
Typography,
2020
} from 'antd'
2121
import classnames from 'classnames'
22-
import { ReactNode, RefObject } from 'react'
22+
import { RefObject } from 'react'
2323
import { connect } from 'react-redux'
2424
import { RouteComponentProps } from 'react-router'
2525
import ApiManager from '../../../api/ApiManager'
@@ -196,18 +196,29 @@ class AppDetails extends ApiComponent<
196196
<div
197197
style={{
198198
position: 'absolute',
199-
padding: 12,
200-
right: 12,
199+
margin: 18,
200+
left: 0,
201+
right: 0,
201202
top: 0,
202203
}}
203204
>
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>
211222
</div>
212223
<div>{self.createProjectBreadcrumbs()}</div>
213224

@@ -529,7 +540,7 @@ class AppDetails extends ApiComponent<
529540
)
530541
}
531542

532-
createEditAppModal(): ReactNode {
543+
createEditAppModal() {
533544
const self = this
534545

535546
const editAppDataForModal = self.state.editAppDataForModal

0 commit comments

Comments
 (0)