diff --git a/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx b/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx index f4d41b5e688b28d150428f6e6fe68f15cf090ac5..795f2a3d862934f75c337bfd4edb6174efba00c4 100755 --- a/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/component.jsx @@ -255,6 +255,7 @@ class ActionsDropdown extends PureComponent { amIModerator, shortcuts: OPEN_ACTIONS_AK, isMeteorConnected, + isDropdownOpen, } = this.props; const availableActions = this.getAvailableActions(); @@ -272,6 +273,7 @@ class ActionsDropdown extends PureComponent { <Dropdown className={styles.dropdown} ref={(ref) => { this._dropdown = ref; }}> <DropdownTrigger tabIndex={0} accessKey={OPEN_ACTIONS_AK}> <Button + className={isDropdownOpen ? styles.hideDropdownButton : ''} hideLabel aria-label={intl.formatMessage(intlMessages.actionsLabel)} label={intl.formatMessage(intlMessages.actionsLabel)} diff --git a/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/container.jsx b/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/container.jsx index 996a644d6a01cc8bbbefee036e78d98031faaba4..e9c8102edfda0f9b6aca0bd5f065116fc38ebb55 100644 --- a/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/container.jsx +++ b/bigbluebutton-html5/imports/ui/components/actions-bar/actions-dropdown/container.jsx @@ -8,6 +8,7 @@ export default withTracker(() => { const presentations = Presentations.find({ 'conversion.done': true }).fetch(); return ({ presentations, + isDropdownOpen: Session.get('dropdownOpen'), setPresentation: PresentationUploaderService.setPresentation, podIds: PresentationPodService.getPresentationPodIds(), }); diff --git a/bigbluebutton-html5/imports/ui/components/actions-bar/styles.scss b/bigbluebutton-html5/imports/ui/components/actions-bar/styles.scss index e85cd065da09151b277126b8143ddca356b067c4..93191969c4341d60cec63b5f3a72c5f4db7d91d9 100755 --- a/bigbluebutton-html5/imports/ui/components/actions-bar/styles.scss +++ b/bigbluebutton-html5/imports/ui/components/actions-bar/styles.scss @@ -111,12 +111,16 @@ } } -.btn { - z-index: 3; -} .dropdown{ z-index: 4; } + +.hideDropdownButton { + @include mq($small-only) { + display:none; + } +} + .presentationItem { span { text-overflow: ellipsis;