fix zalgos in SenderProfile again, whilst maintaining limited-width name via inline-block. and without doubling emote vertical space...

This commit is contained in:
Matthew Hodgson 2016-03-30 19:30:08 +01:00
parent 00a92452e8
commit 512a9125bf
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ module.exports = React.createClass({
var msgtype = mxEvent.getContent().msgtype;
if (msgtype && msgtype == 'm.emote') {
name = ''; // emote message must include the name so don't duplicate it
return <span/>; // emote message must include the name so don't duplicate it
}
return (
<span className="mx_SenderProfile" onClick={this.props.onClick}>

View File

@ -39,10 +39,10 @@ limitations under the License.
.mx_EventTile .mx_SenderProfile {
color: #454545;
opacity: 0.5;
display: inline-block;
font-size: 13px;
overflow-y: hidden;
cursor: pointer;
vertical-align: text-top;
}
.mx_EventTile .mx_MessageTimestamp {