fix options button appearing in save chat
This commit is contained in:
parent
e078e77e84
commit
b27314b6e8
@ -278,6 +278,7 @@ class SettingsDropdown extends PureComponent {
|
||||
const {
|
||||
intl,
|
||||
shortcuts: OPEN_OPTIONS_AK,
|
||||
isDropdownOpen,
|
||||
} = this.props;
|
||||
|
||||
const { isSettingOpen } = this.state;
|
||||
@ -297,7 +298,7 @@ class SettingsDropdown extends PureComponent {
|
||||
ghost
|
||||
circle
|
||||
hideLabel
|
||||
className={styles.btn}
|
||||
className={isDropdownOpen ? styles.hideDropdownButton : styles.btn}
|
||||
|
||||
// FIXME: Without onClick react proptypes keep warning
|
||||
// even after the DropdownTrigger inject an onClick handler
|
||||
|
@ -23,5 +23,6 @@ export default withTracker((props) => {
|
||||
noIOSFullscreen,
|
||||
isMeteorConnected: Meteor.status().connected,
|
||||
isBreakoutRoom: meetingIsBreakout(),
|
||||
isDropdownOpen: Session.get('dropdownOpen'),
|
||||
};
|
||||
})(SettingsDropdownContainer);
|
||||
|
@ -123,3 +123,9 @@
|
||||
.dropdown{
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.hideDropdownButton {
|
||||
@include mq($small-only) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user