1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-14 19:02:33 +03:00

Merge pull request #4659 from matrix-org/t3chguy/dialog_cancel_space

Dialog wrap title instead of taking same space as the close/cancel button
This commit is contained in:
Michael Telatynski
2020-05-29 20:47:31 +01:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -144,6 +144,7 @@ export default createReactClass({
>
<div className={classNames('mx_Dialog_header', {
'mx_Dialog_headerWithButton': !!this.props.headerButton,
'mx_Dialog_headerWithCancel': !!cancelButton,
})}>
<div className={classNames('mx_Dialog_title', this.props.titleClass)} id='mx_BaseDialog_title'>
{headerImage}