diff --git a/res/css/views/dialogs/_InviteDialog.scss b/res/css/views/dialogs/_InviteDialog.scss index a6871f7547..d8ff56663a 100644 --- a/res/css/views/dialogs/_InviteDialog.scss +++ b/res/css/views/dialogs/_InviteDialog.scss @@ -37,7 +37,7 @@ limitations under the License. } // Mostly copied from AddressPickerDialog; overrides bunch of our default text input styles - input, input:focus { + > input[type="text"] { margin: 6px 0 !important; height: 24px; line-height: $font-24px; @@ -140,6 +140,10 @@ limitations under the License. } } + .mx_InviteDialog_roomTile_nameStack { + display: inline-block; + } + .mx_InviteDialog_roomTile_name { font-weight: 600; font-size: $font-14px; diff --git a/src/components/views/dialogs/InviteDialog.js b/src/components/views/dialogs/InviteDialog.js index 5e97e94403..99878569d3 100644 --- a/src/components/views/dialogs/InviteDialog.js +++ b/src/components/views/dialogs/InviteDialog.js @@ -280,11 +280,17 @@ class DMRoomTile extends React.PureComponent { ); + const caption = this.props.member.isEmail + ? _t("Invite by email") + : this._highlightName(this.props.member.userId); + return (
{stackedAvatar} - {this._highlightName(this.props.member.name)} - {this._highlightName(this.props.member.userId)} + +
{this._highlightName(this.props.member.name)}
+
{caption}
+
{timestamp}
);