From 13bdd6aed18168edcbf66e90bc841f087b51e91f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Mon, 27 Nov 2023 13:34:38 -0300 Subject: [PATCH] Fix: Removing some inconvinient user selection from certain items --- .../imports/ui/components/common/tooltip/bbbtip.css | 1 + .../nav-bar/nav-bar-graphql/recording-indicator/styles.ts | 2 ++ .../video-list/video-list-item/user-actions/styles.js | 1 + 3 files changed, 4 insertions(+) diff --git a/bigbluebutton-html5/imports/ui/components/common/tooltip/bbbtip.css b/bigbluebutton-html5/imports/ui/components/common/tooltip/bbbtip.css index c3e785827e..34eb6b0fcd 100644 --- a/bigbluebutton-html5/imports/ui/components/common/tooltip/bbbtip.css +++ b/bigbluebutton-html5/imports/ui/components/common/tooltip/bbbtip.css @@ -3,6 +3,7 @@ background-color:#333333; padding: .25rem .5rem; border-radius: 4px; + user-select: none; } .tippy-tooltip.bbbtip-theme>.tippy-svg-arrow{ diff --git a/bigbluebutton-html5/imports/ui/components/nav-bar/nav-bar-graphql/recording-indicator/styles.ts b/bigbluebutton-html5/imports/ui/components/nav-bar/nav-bar-graphql/recording-indicator/styles.ts index fe1e550830..1a32381b1e 100644 --- a/bigbluebutton-html5/imports/ui/components/nav-bar/nav-bar-graphql/recording-indicator/styles.ts +++ b/bigbluebutton-html5/imports/ui/components/nav-bar/nav-bar-graphql/recording-indicator/styles.ts @@ -29,6 +29,7 @@ const RecordingIndicatorIcon = styled.span` width: ${fontSizeLarge}; height: ${fontSizeLarge}; font-size: ${fontSizeBase}; + user-select: none; ${({ titleMargin }) => titleMargin && ` [dir="ltr"] & { @@ -40,6 +41,7 @@ const RecordingIndicatorIcon = styled.span` const RecordingControl = styled.div` display: flex; align-items: center; + user-select: none; span { border: none; diff --git a/bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/user-actions/styles.js b/bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/user-actions/styles.js index 3231d8c624..4c2d51a213 100644 --- a/bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/user-actions/styles.js +++ b/bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/user-actions/styles.js @@ -6,6 +6,7 @@ import { fontSizeSmaller } from '/imports/ui/stylesheets/styled-components/typog import Button from '/imports/ui/components/common/button/component'; const DropdownTrigger = styled(DivElipsis)` + user-select: none; position: relative; // Keep the background with 0.5 opacity, but leave the text with 1 background-color: rgba(0, 0, 0, 0.5);