From 1100320351a1c7c333b2a52b9ee33c3322045b11 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 17 Apr 2019 11:02:58 +0200 Subject: [PATCH] make non-member inviter name also bold --- res/css/views/rooms/_RoomPreviewBar.scss | 3 +++ src/components/views/rooms/RoomPreviewBar.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/res/css/views/rooms/_RoomPreviewBar.scss b/res/css/views/rooms/_RoomPreviewBar.scss index 4440972712..ea3b787971 100644 --- a/res/css/views/rooms/_RoomPreviewBar.scss +++ b/res/css/views/rooms/_RoomPreviewBar.scss @@ -118,6 +118,9 @@ limitations under the License. .mx_RoomPreviewBar_inviter { font-weight: 600; +} + +a.mx_RoomPreviewBar_inviter { text-decoration: underline; cursor: pointer; } diff --git a/src/components/views/rooms/RoomPreviewBar.js b/src/components/views/rooms/RoomPreviewBar.js index 6b03d5fef3..8fff835534 100644 --- a/src/components/views/rooms/RoomPreviewBar.js +++ b/src/components/views/rooms/RoomPreviewBar.js @@ -337,7 +337,7 @@ module.exports = React.createClass({ ); } else { - inviterElement = this.props.inviterName; + inviterElement = ({this.props.inviterName}); } title = _t("Do you want to join this room?");