summaryrefslogtreecommitdiffstats
path: root/web/react/components/more_direct_channels.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-10-19 22:58:47 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-10-19 22:58:47 +0500
commit2d42aefeafd2a0bea6419a6ef79c0c9b1fd313eb (patch)
treeb386ef151f2b6ec6fdbc0e2f596723d62093bbec /web/react/components/more_direct_channels.jsx
parentcbbfe0112bf0d795d3c51382d6fddf5b20d19736 (diff)
downloadchat-2d42aefeafd2a0bea6419a6ef79c0c9b1fd313eb.tar.gz
chat-2d42aefeafd2a0bea6419a6ef79c0c9b1fd313eb.tar.bz2
chat-2d42aefeafd2a0bea6419a6ef79c0c9b1fd313eb.zip
Multiple UI Improvements
Diffstat (limited to 'web/react/components/more_direct_channels.jsx')
-rw-r--r--web/react/components/more_direct_channels.jsx9
1 files changed, 5 insertions, 4 deletions
diff --git a/web/react/components/more_direct_channels.jsx b/web/react/components/more_direct_channels.jsx
index 105199035..1db22ebaa 100644
--- a/web/react/components/more_direct_channels.jsx
+++ b/web/react/components/more_direct_channels.jsx
@@ -140,12 +140,11 @@ export default class MoreDirectChannels extends React.Component {
if (user.nickname) {
const separator = fullName ? ' - ' : '';
details.push(
- <p
+ <span
key={`${user.nickname}__nickname`}
- className='more-description'
>
{separator + user.nickname}
- </p>
+ </span>
);
}
@@ -184,7 +183,9 @@ export default class MoreDirectChannels extends React.Component {
<div className='more-name'>
{user.username}
</div>
- {details}
+ <div className='more-description'>
+ {details}
+ </div>
</td>
<td className='td--action lg'>
{joinButton}