forked from matrix/element-web
fix zalgos in SenderProfile again, whilst maintaining limited-width name via inline-block. and without doubling emote vertical space...
This commit is contained in:
parent
00a92452e8
commit
512a9125bf
|
@ -33,7 +33,7 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
var msgtype = mxEvent.getContent().msgtype;
|
var msgtype = mxEvent.getContent().msgtype;
|
||||||
if (msgtype && msgtype == 'm.emote') {
|
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 (
|
return (
|
||||||
<span className="mx_SenderProfile" onClick={this.props.onClick}>
|
<span className="mx_SenderProfile" onClick={this.props.onClick}>
|
||||||
|
|
|
@ -39,10 +39,10 @@ limitations under the License.
|
||||||
.mx_EventTile .mx_SenderProfile {
|
.mx_EventTile .mx_SenderProfile {
|
||||||
color: #454545;
|
color: #454545;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
display: inline-block;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
vertical-align: text-top;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_EventTile .mx_MessageTimestamp {
|
.mx_EventTile .mx_MessageTimestamp {
|
||||||
|
|
Loading…
Reference in New Issue