fix sessionInput button show/hide visibility

pull/691/head
Audric Ackermann 5 years ago
parent 55e39a02b3
commit 6e8eb0aa4d

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

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

Loading…
Cancel
Save