fix zalgos in SenderProfile again, whilst maintaining limited-width name via inline-block. and without doubling emote vertical space...
parent
00a92452e8
commit
512a9125bf
|
@ -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}>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue