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:
parent
2bacabc002
commit
b00a38a1e5
3 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue