mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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;
|
||||
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
Block a user