Fix broken badge
parent
5f3635e5f8
commit
b605e053f0
|
|
@ -11,15 +11,21 @@ class ToolAreaButton extends React.Component
|
|||
const {
|
||||
toolAreaOpen,
|
||||
toggleToolArea,
|
||||
unread
|
||||
unread,
|
||||
visible
|
||||
} = this.props;
|
||||
|
||||
return (
|
||||
<div data-component='ToolAreaButton' className={classnames({ on: toolAreaOpen })}>
|
||||
<div
|
||||
data-component='ToolAreaButton'
|
||||
className={classnames('room-controls', {
|
||||
on : toolAreaOpen,
|
||||
visible
|
||||
})}
|
||||
>
|
||||
<div
|
||||
className={classnames('button toolarea-button room-controls', {
|
||||
on : toolAreaOpen,
|
||||
visible : this.props.visible
|
||||
className={classnames('button toolarea-button', {
|
||||
on : toolAreaOpen
|
||||
})}
|
||||
data-tip='Toggle tool area'
|
||||
data-type='dark'
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@
|
|||
right: 0;
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
padding: 2rem;
|
||||
margin: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
|
|
|||
Loading…
Reference in New Issue