From 8c1d9b6c508af213bd2495521c1833e2f68dd6bf Mon Sep 17 00:00:00 2001 From: KDSBrowne Date: Sat, 13 Apr 2019 21:22:47 +0000 Subject: [PATCH] fix presentation toolbar tooltip positions --- .../presentation-toolbar/component.jsx | 10 +-- .../presentation-toolbar/styles.scss | 4 ++ .../zoom-tool/component.jsx | 7 ++- .../ui/components/tooltip/component.jsx | 61 +++++++++---------- .../fullscreen-button/component.jsx | 5 +- 5 files changed, 46 insertions(+), 41 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx b/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx index 8892434c22..edccd20848 100644 --- a/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx @@ -5,12 +5,12 @@ import browser from 'browser-detect'; import injectWbResizeEvent from '/imports/ui/components/presentation/resize-wrapper/component'; import Button from '/imports/ui/components/button/component'; import { HUNDRED_PERCENT, MAX_PERCENT, STEP } from '/imports/utils/slideCalcUtils'; +import cx from 'classnames'; import { styles } from './styles.scss'; import ZoomTool from './zoom-tool/component'; import FullscreenButton from '../../video-provider/fullscreen-button/component'; import Tooltip from '/imports/ui/components/tooltip/component'; - const intlMessages = defineMessages({ previousSlideLabel: { id: 'app.presentation.presentationToolbar.prevSlideLabel', @@ -227,13 +227,14 @@ class PresentationToolbar extends Component { onClick={actions.previousSlideHandler} label={intl.formatMessage(intlMessages.previousSlideLabel)} hideLabel - className={styles.prevSlide} + className={cx(styles.prevSlide, styles.presentationBtn)} tooltipDistance={tooltipDistance} />