Merge pull request #60 from havfo/fix/tooltip-positioning

Force tooltip for Login to always be to the right of the button
master
Håvar Aambø Fosstveit 2018-08-08 09:24:14 +02:00 committed by GitHub
commit 240951bce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class Sidebar extends Component
})}
onClick={this.handleToggleFullscreen}
data-tip='Fullscreen'
data-place='right'
data-type='dark'
/>
)}
@ -99,6 +100,7 @@ class Sidebar extends Component
<div
className={classnames('button', 'screen', screenState)}
data-tip={screenTip}
data-place='right'
data-type='dark'
onClick={() =>
{
@ -131,6 +133,7 @@ class Sidebar extends Component
<div
className='button logout'
data-tip='Logout'
data-place='right'
data-type='dark'
onClick={onLogout}
>
@ -140,6 +143,7 @@ class Sidebar extends Component
<div
className='button login off'
data-tip='Login'
data-place='right'
data-type='dark'
onClick={onLogin}
/>
@ -150,6 +154,7 @@ class Sidebar extends Component
disabled : me.raiseHandInProgress
})}
data-tip='Raise hand'
data-place='right'
data-type='dark'
onClick={() => onToggleHand(!me.raiseHand)}
/>
@ -157,6 +162,7 @@ class Sidebar extends Component
<div
className={classnames('button', 'leave-meeting')}
data-tip='Leave meeting'
data-place='right'
data-type='dark'
onClick={() => onLeaveMeeting()}
/>