1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

apply mx_EventTile_content to editor, so it gets the same right margin

this way we don't have to include it in the magic number
This commit is contained in:
Bruno Windels
2019-05-21 12:18:20 +02:00
parent 2bacabc002
commit b00a38a1e5
3 changed files with 6 additions and 4 deletions

View File

@@ -471,7 +471,7 @@ module.exports = React.createClass({
render: function() {
if (this.props.isEditing) {
const MessageEditor = sdk.getComponent('elements.MessageEditor');
return <MessageEditor event={this.props.mxEvent} />;
return <MessageEditor event={this.props.mxEvent} className="mx_EventTile_content" />;
}
const EmojiText = sdk.getComponent('elements.EmojiText');
const mxEvent = this.props.mxEvent;