fix sessionInput button show/hide visibility

This commit is contained in:
Audric Ackermann 2019-12-06 15:28:49 +11:00
parent 55e39a02b3
commit 6e8eb0aa4d
2 changed files with 9 additions and 4 deletions

View file

@ -314,6 +314,11 @@ $session_message-container-border-radius: 5px;
margin-top: 13.5px;
}
}
.hidden {
visibility: hidden;
}
.input-with-label-container {
height: 46.5px;
width: 280px;

View file

@ -59,12 +59,12 @@ export class SessionInput extends React.PureComponent<Props, State> {
}}
/>
<button
onClick={() =>
onClick={() => {
this.setState({
forceShow: !this.state.forceShow,
})
}
className={classNames(enableShowHide ? '' : '')}
});
}}
className={classNames(enableShowHide ? '' : 'hidden')}
>
SHOW
</button>