mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
fix sessionInput button show/hide visibility
This commit is contained in:
parent
55e39a02b3
commit
6e8eb0aa4d
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue