From 873cb24f34e01a0af78a45cc9c55fb03b1df7d4a Mon Sep 17 00:00:00 2001 From: Tainan Felipe Pauli de Almeida Date: Thu, 22 Mar 2018 14:02:59 -0300 Subject: [PATCH 1/6] closes issues #5256 and #5248 --- .../imports/ui/components/dropdown/list/styles.scss | 1 + .../ui/components/video-dock/video-menu/component.jsx | 11 ++++++++++- .../ui/components/video-dock/video-menu/container.jsx | 1 + .../ui/components/video-dock/video-menu/service.js | 11 ++++++----- bigbluebutton-html5/private/locales/en.json | 1 + 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/dropdown/list/styles.scss b/bigbluebutton-html5/imports/ui/components/dropdown/list/styles.scss index 2715196f05..1ad8126a5e 100755 --- a/bigbluebutton-html5/imports/ui/components/dropdown/list/styles.scss +++ b/bigbluebutton-html5/imports/ui/components/dropdown/list/styles.scss @@ -30,6 +30,7 @@ $item-border-focus: $color-blue-lighter; flex-direction: row; @include mq($small-only) { flex-direction: column; + padding: $line-height-computed; } } diff --git a/bigbluebutton-html5/imports/ui/components/video-dock/video-menu/component.jsx b/bigbluebutton-html5/imports/ui/components/video-dock/video-menu/component.jsx index 48d263e92e..0dbfca051d 100755 --- a/bigbluebutton-html5/imports/ui/components/video-dock/video-menu/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/video-dock/video-menu/component.jsx @@ -19,6 +19,10 @@ const intlMessages = defineMessages({ id: 'app.video.videoMenuDesc', description: 'video menu description', }, + videoMenuDisabled: { + id: 'app.video.videoMenuDisabled', + description: 'video menu label', + }, }); @@ -32,6 +36,7 @@ const JoinVideoOptions = ({ intl, isSharingVideo, videoItems, + videoShareAllowed, }) => { const menuItems = videoItems .filter(item => !item.disabled) @@ -54,7 +59,10 @@ const JoinVideoOptions = ({ >