fix dropdown close btn on mobile view

This commit is contained in:
KDSBrowne 2019-08-19 14:41:31 +00:00
parent 74ac34c407
commit 161be803be
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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',

View File

@ -17,3 +17,7 @@
.button {
@extend .button;
}
.info {
margin: 0;
}