Fix broken badge
parent
5f3635e5f8
commit
b605e053f0
|
|
@ -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
|
||||||
|
data-component='ToolAreaButton'
|
||||||
|
className={classnames('room-controls', {
|
||||||
|
on : toolAreaOpen,
|
||||||
|
visible
|
||||||
|
})}
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
className={classnames('button toolarea-button room-controls', {
|
className={classnames('button toolarea-button', {
|
||||||
on : toolAreaOpen,
|
on : toolAreaOpen
|
||||||
visible : this.props.visible
|
|
||||||
})}
|
})}
|
||||||
data-tip='Toggle tool area'
|
data-tip='Toggle tool area'
|
||||||
data-type='dark'
|
data-type='dark'
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue