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

View File

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