fix(filmstrip-only): set width for toolbar popovers

The popovers in filmstrip only are displaying thinly.
As a quick workaround, set a width on them. There
should only be one anyway, which shows up when
talking while muted.
pull/2107/merge jitsi-meet_2595
Leonard Kim 8 years ago committed by yanas
parent c345c0d5e8
commit 92dbdade39
  1. 4
      css/_toolbars.scss
  2. 6
      react/features/toolbox/components/ToolbarButton.web.js

@ -226,6 +226,10 @@
width: 37px;
}
.button-popover-message {
width: 100px;
}
.toolbar-button-wrapper:first-child .button {
border-top-left-radius: 3px;
border-top-right-radius: 3px;

@ -128,7 +128,11 @@ class ToolbarButton extends Component {
children = ( // eslint-disable-line no-extra-parens
<InlineDialog
content = { t(dataAttr, dataInterpolate) }
content = {
<div className = 'button-popover-message'>
{ t(dataAttr, dataInterpolate) }
</div>
}
isOpen = { Boolean(popupConfig) }
position = { position }>
{ buttonComponent }

Loading…
Cancel
Save