mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 09:15:16 +00:00
Remove excessive padding after url previews
This commit is contained in:
@@ -514,7 +514,7 @@ export default class TextualBody extends React.Component<IBodyProps, IState> {
|
|||||||
switch (content.msgtype) {
|
switch (content.msgtype) {
|
||||||
case MsgType.Emote:
|
case MsgType.Emote:
|
||||||
return (
|
return (
|
||||||
<span className="mx_MEmoteBody mx_EventTile_content">
|
<div className="mx_MEmoteBody mx_EventTile_content">
|
||||||
*
|
*
|
||||||
<span
|
<span
|
||||||
className="mx_MEmoteBody_sender"
|
className="mx_MEmoteBody_sender"
|
||||||
@@ -525,21 +525,21 @@ export default class TextualBody extends React.Component<IBodyProps, IState> {
|
|||||||
|
|
||||||
{ body }
|
{ body }
|
||||||
{ widgets }
|
{ widgets }
|
||||||
</span>
|
</div>
|
||||||
);
|
);
|
||||||
case MsgType.Notice:
|
case MsgType.Notice:
|
||||||
return (
|
return (
|
||||||
<span className="mx_MNoticeBody mx_EventTile_content">
|
<div className="mx_MNoticeBody mx_EventTile_content">
|
||||||
{ body }
|
{ body }
|
||||||
{ widgets }
|
{ widgets }
|
||||||
</span>
|
</div>
|
||||||
);
|
);
|
||||||
default: // including "m.text"
|
default: // including "m.text"
|
||||||
return (
|
return (
|
||||||
<span className="mx_MTextBody mx_EventTile_content">
|
<div className="mx_MTextBody mx_EventTile_content">
|
||||||
{ body }
|
{ body }
|
||||||
{ widgets }
|
{ widgets }
|
||||||
</span>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user