This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
src/components/views/dialogs Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ limitations under the License.
3737 }
3838
3939 // Mostly copied from AddressPickerDialog; overrides bunch of our default text input styles
40- input , input :focus {
40+ > input [ type = " text " ] {
4141 margin : 6px 0 !important ;
4242 height : 24px ;
4343 line-height : $font-24px ;
@@ -140,6 +140,10 @@ limitations under the License.
140140 }
141141 }
142142
143+ .mx_InviteDialog_roomTile_nameStack {
144+ display : inline-block ;
145+ }
146+
143147 .mx_InviteDialog_roomTile_name {
144148 font-weight : 600 ;
145149 font-size : $font-14px ;
Original file line number Diff line number Diff line change @@ -280,11 +280,17 @@ class DMRoomTile extends React.PureComponent {
280280 </ span >
281281 ) ;
282282
283+ const caption = this . props . member . isEmail
284+ ? _t ( "Invite by email" )
285+ : this . _highlightName ( this . props . member . userId ) ;
286+
283287 return (
284288 < div className = 'mx_InviteDialog_roomTile' onClick = { this . _onClick } >
285289 { stackedAvatar }
286- < span className = 'mx_InviteDialog_roomTile_name' > { this . _highlightName ( this . props . member . name ) } </ span >
287- < span className = 'mx_InviteDialog_roomTile_userId' > { this . _highlightName ( this . props . member . userId ) } </ span >
290+ < span className = "mx_InviteDialog_roomTile_nameStack" >
291+ < div className = 'mx_InviteDialog_roomTile_name' > { this . _highlightName ( this . props . member . name ) } </ div >
292+ < div className = 'mx_InviteDialog_roomTile_userId' > { caption } </ div >
293+ </ span >
288294 { timestamp }
289295 </ div >
290296 ) ;
You can’t perform that action at this time.
0 commit comments