Remove excessive padding after url previews
This commit is contained in:
parent
951ceb194c
commit
552770c15a
1 changed files with 6 additions and 6 deletions
|
@ -514,7 +514,7 @@ export default class TextualBody extends React.Component<IBodyProps, IState> {
|
|||
switch (content.msgtype) {
|
||||
case MsgType.Emote:
|
||||
return (
|
||||
<span className="mx_MEmoteBody mx_EventTile_content">
|
||||
<div className="mx_MEmoteBody mx_EventTile_content">
|
||||
*
|
||||
<span
|
||||
className="mx_MEmoteBody_sender"
|
||||
|
@ -525,21 +525,21 @@ export default class TextualBody extends React.Component<IBodyProps, IState> {
|
|||
|
||||
{ body }
|
||||
{ widgets }
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
case MsgType.Notice:
|
||||
return (
|
||||
<span className="mx_MNoticeBody mx_EventTile_content">
|
||||
<div className="mx_MNoticeBody mx_EventTile_content">
|
||||
{ body }
|
||||
{ widgets }
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
default: // including "m.text"
|
||||
return (
|
||||
<span className="mx_MTextBody mx_EventTile_content">
|
||||
<div className="mx_MTextBody mx_EventTile_content">
|
||||
{ body }
|
||||
{ widgets }
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue