fix dropdown close btn on mobile view
This commit is contained in:
parent
74ac34c407
commit
161be803be
@ -186,7 +186,7 @@ class Dropdown extends Component {
|
||||
dropdownHide: this.handleHide,
|
||||
});
|
||||
|
||||
const showCloseBtn = (isOpen && keepOpen) || (isOpen && keepOpen === null);
|
||||
const showCloseBtn = (isOpen && keepOpen) || (isOpen && !keepOpen);
|
||||
|
||||
return (
|
||||
<div
|
||||
|
@ -69,7 +69,7 @@ class LockViewersNotifyComponent extends Component {
|
||||
notify(
|
||||
(
|
||||
<React.Fragment>
|
||||
<p>{intl.formatMessage(intlMessages.suggestLockTitle)}</p>
|
||||
<p className={styles.info}>{intl.formatMessage(intlMessages.suggestLockTitle)}</p>
|
||||
<div className={styles.buttonWrapper}>
|
||||
<Button
|
||||
label={intl.formatMessage(intlMessages.enable)}
|
||||
@ -85,7 +85,7 @@ class LockViewersNotifyComponent extends Component {
|
||||
className={styles.button}
|
||||
/>
|
||||
</div>
|
||||
<p>{intl.formatMessage(intlMessages.suggestLockReason)}</p>
|
||||
<p className={styles.info}>{intl.formatMessage(intlMessages.suggestLockReason)}</p>
|
||||
</React.Fragment>
|
||||
),
|
||||
'info',
|
||||
|
@ -17,3 +17,7 @@
|
||||
.button {
|
||||
@extend .button;
|
||||
}
|
||||
|
||||
.info {
|
||||
margin: 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user