Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ref(toolbar): re-wrap buttons for torture tests

Leonard Kime217c172f800
diff --git a/css/_toolbars.scss b/css/_toolbars.scss
index 436ed9c668..8dd34b4e9f 100644
--- a/css/_toolbars.scss
+++ b/css/_toolbars.scss
@@ -153,10 +153,13 @@
@include transform(translateX(-50%));
+ > a:first-child.button,
> div:first-child .button {
border-bottom-left-radius: 3px;
border-top-left-radius: 3px;
}
+
+ > a:last-child.button,
> div:last-child .button {
border-bottom-right-radius: 3px;
border-top-right-radius: 3px;
diff --git a/react/features/toolbox/components/StatelessToolbarButton.js b/react/features/toolbox/components/StatelessToolbarButton.js
index 0fb58a9d85..822c5300fb 100644
--- a/react/features/toolbox/components/StatelessToolbarButton.js
+++ b/react/features/toolbox/components/StatelessToolbarButton.js
@@ -96,7 +96,7 @@ export default class StatelessToolbarButton extends AbstractToolbarButton {
const attributes = getButtonAttributesByProps(button);
return (
- <div className = { `toolbar-button-wrapper ${button.id}-wrapper` }>
+ <div className = 'toolbar-button'>
<a
{ ...attributes }
onClick = { this._onClick }>
diff --git a/react/features/toolbox/components/ToolbarButton.web.js b/react/features/toolbox/components/ToolbarButton.web.js
index 3b37250a0a..f5cd55cfee 100644
--- a/react/features/toolbox/components/ToolbarButton.web.js
+++ b/react/features/toolbox/components/ToolbarButton.web.js
@@ -140,7 +140,11 @@ class ToolbarButton extends Component<*> {
);
}
- return children;
+ return (
+ <div className = { `toolbar-button-wrapper ${button.id}-wrapper` }>
+ { children }
+ </div>
+ );
}
/**