Make MFileBody inherit the MediaBody styles

This commit is contained in:
Travis Ralston 2021-07-21 14:46:25 -06:00
parent 5386d23008
commit 3023fda497
2 changed files with 1 additions and 7 deletions

View file

@ -141,7 +141,7 @@ export default class MFileBody extends React.Component<IProps, IState> {
let placeholder = null;
if (this.props.showGenericPlaceholder) {
placeholder = (
<div className="mx_MFileBody_info">
<div className="mx_MediaBody mx_MFileBody_info">
<span className="mx_MFileBody_info_icon" />
<span className="mx_MFileBody_info_filename">
{ presentableTextForFile(content, _t("Attachment"), false) }