diff options
author | Asaad Mahmood <asaadmahmood@users.noreply.github.com> | 2017-05-30 20:19:29 +0500 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2017-05-30 08:19:29 -0700 |
commit | b2453735b2109f8039204e59cece98cbac7bc3e7 (patch) | |
tree | c19b4320467d8ba128e75e3c458af963bf22101c /webapp/components/rhs_root_post.jsx | |
parent | 860e5d483cd952ec833c40312a2141bb3e4ef579 (diff) | |
download | chat-b2453735b2109f8039204e59cece98cbac7bc3e7.tar.gz chat-b2453735b2109f8039204e59cece98cbac7bc3e7.tar.bz2 chat-b2453735b2109f8039204e59cece98cbac7bc3e7.zip |
Minor Ui improvements (#6515)
* PLT-6645 - Improving copy pasting behaviour
* PLT-6149 - Fixing edited indicator in search
Diffstat (limited to 'webapp/components/rhs_root_post.jsx')
-rw-r--r-- | webapp/components/rhs_root_post.jsx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx index 408bce395..f48b4e86a 100644 --- a/webapp/components/rhs_root_post.jsx +++ b/webapp/components/rhs_root_post.jsx @@ -454,7 +454,7 @@ export default class RhsRootPost extends React.Component { ); } - botIndicator = <li className='col col__name bot-indicator'>{'BOT'}</li>; + botIndicator = <div className='col col__name bot-indicator'>{'BOT'}</div>; } else if (isSystemMessage) { userProfile = ( <UserProfile @@ -559,10 +559,10 @@ export default class RhsRootPost extends React.Component { <div className='post__content'> {profilePicContainer} <div> - <ul className='post__header'> - <li className='col__name'>{userProfile}</li> + <div className='post__header'> + <div className='col__name'>{userProfile}</div> {botIndicator} - <li className='col'> + <div className='col'> {this.renderTimeTag(post, timeOptions)} {pinnedBadge} <PostFlagIcon @@ -570,13 +570,13 @@ export default class RhsRootPost extends React.Component { postId={post.id} isFlagged={this.props.isFlagged} /> - </li> - <li className='col col__reply'> + </div> + <div className='col col__reply'> {reactOverlay} {rootOptions} {react} - </li> - </ul> + </div> + </div> <div className='post__body'> <div className={postClass}> <PostBodyAdditionalContent |