From 512a9125bf80413ac4a815dde415dea68229a169 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 30 Mar 2016 19:30:08 +0100 Subject: [PATCH] fix zalgos in SenderProfile again, whilst maintaining limited-width name via inline-block. and without doubling emote vertical space... --- src/components/views/messages/SenderProfile.js | 2 +- src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/messages/SenderProfile.js b/src/components/views/messages/SenderProfile.js index 807081bc..82f3337d 100644 --- a/src/components/views/messages/SenderProfile.js +++ b/src/components/views/messages/SenderProfile.js @@ -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 ; // emote message must include the name so don't duplicate it } return ( diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css index 821cc8d3..f28b576f 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css @@ -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 {