1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

Merge pull request #3719 from haiwen/related-file-dialog

change related file dialog style
This commit is contained in:
Daniel Pan
2019-06-25 12:08:41 +08:00
committed by GitHub
3 changed files with 7 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ class AddRelatedFileDialog extends React.Component {
let subtitle = gettext('Select related file for {placeholder}');
subtitle = subtitle.replace('{placeholder}', '<span class="op-target">' + Utils.HTMLescape(this.props.dirent.name) + '</span>');
return (
<Fragment>
<div className="sf-add-related-file">
<ModalHeader toggle={this.props.onClose}>
<span className="tag-dialog-back fas fa-sm fa-arrow-left" onClick={this.toggle} aria-label={gettext('Back')}></span>
{gettext('Select File')}
@@ -111,7 +111,7 @@ class AddRelatedFileDialog extends React.Component {
<Button color="primary" disabled>{gettext('Submit')}</Button>
}
</ModalFooter>
</Fragment>
</div>
);
}
}