summaryrefslogtreecommitdiffstats
path: root/webapp/components/profile_popover.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-01-06 22:11:42 +0500
committerJoram Wilander <jwawilander@gmail.com>2017-01-06 12:11:42 -0500
commit1aa235b10d298926f2d683b2d1a5c82f6a9591e9 (patch)
treef36945318cae0542f35e89432fcc8534bafd2248 /webapp/components/profile_popover.jsx
parent61771a0fc53a9c50f096b0dcc422f12ce80baf20 (diff)
downloadchat-1aa235b10d298926f2d683b2d1a5c82f6a9591e9.tar.gz
chat-1aa235b10d298926f2d683b2d1a5c82f6a9591e9.tar.bz2
chat-1aa235b10d298926f2d683b2d1a5c82f6a9591e9.zip
Ui fixes (#4987)
* PLT-5090 - Adding overflow for usrename on popover * PLT-5089 - Updatng save button position * PLT-5146 - Removing anchor on teamname/username * Minor fixes for profile popover * Adjusting constants call for sidebar header
Diffstat (limited to 'webapp/components/profile_popover.jsx')
-rw-r--r--webapp/components/profile_popover.jsx32
1 files changed, 16 insertions, 16 deletions
diff --git a/webapp/components/profile_popover.jsx b/webapp/components/profile_popover.jsx
index 7cb2f7261..d7d9929ee 100644
--- a/webapp/components/profile_popover.jsx
+++ b/webapp/components/profile_popover.jsx
@@ -185,34 +185,34 @@ export default class ProfilePopover extends React.Component {
const fullname = Utils.getFullName(this.props.user);
if (fullname) {
dataContent.push(
- <div
- data-toggle='tooltip'
- title={fullname}
- key='user-popover-fullname'
+ <OverlayTrigger
+ delayShow={Constants.WEBRTC_TIME_DELAY}
+ placement='top'
+ overlay={<Tooltip id='fullNameTooltip'>{fullname}</Tooltip>}
>
- <p
- className='text-nowrap'
+ <div
+ className='overflow--ellipsis text-nowrap padding-bottom'
>
{fullname}
- </p>
- </div>
+ </div>
+ </OverlayTrigger>
);
}
if (this.props.user.position) {
const position = this.props.user.position.substring(0, Constants.MAX_POSITION_LENGTH);
dataContent.push(
- <div
- data-toggle='tooltip'
- title={position}
- key='user-popover-position'
+ <OverlayTrigger
+ delayShow={Constants.WEBRTC_TIME_DELAY}
+ placement='top'
+ overlay={<Tooltip id='positionTooltip'>{position}</Tooltip>}
>
- <p
- className='text-nowrap'
+ <div
+ className='overflow--ellipsis text-nowrap padding-bottom'
>
{position}
- </p>
- </div>
+ </div>
+ </OverlayTrigger>
);
}