Fix broken badge

master
Torjus 2018-08-09 09:50:33 +02:00
parent 5f3635e5f8
commit b605e053f0
2 changed files with 12 additions and 6 deletions

View File

@ -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
className={classnames('button toolarea-button room-controls', {
data-component='ToolAreaButton'
className={classnames('room-controls', {
on : toolAreaOpen,
visible : this.props.visible
visible
})}
>
<div
className={classnames('button toolarea-button', {
on : toolAreaOpen
})}
data-tip='Toggle tool area'
data-type='dark'

View File

@ -83,7 +83,7 @@
right: 0;
height: 36px;
width: 36px;
padding: 2rem;
margin: 2rem;
display: flex;
flex-direction: column;
justify-content: center;