Skip to content

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

fix(aot): Toolbar styles (#2252)

hristoterezovd79995e14c5d
diff --git a/css/_toolbars.scss b/css/_toolbars.scss
index cca312b8b5..91b22b955c 100644
--- a/css/_toolbars.scss
+++ b/css/_toolbars.scss
@@ -56,11 +56,14 @@
/**
* Toolbar button styles for always on top.
*/
- > .button {
+ .button {
font-size: $alwaysOnTopToolbarFontSize;
height: $alwaysOnTopToolbarSize;
line-height: $alwaysOnTopToolbarSize;
width: $alwaysOnTopToolbarSize;
+ &_hangup, &_hangup:hover {
+ font-size: $alwaysOnTopToolbarFontSize;
+ }
}
}
diff --git a/react/features/toolbox/components/StatelessToolbarButton.js b/react/features/toolbox/components/StatelessToolbarButton.js
index cb5193bc85..0fb58a9d85 100644
--- a/react/features/toolbox/components/StatelessToolbarButton.js
+++ b/react/features/toolbox/components/StatelessToolbarButton.js
@@ -96,11 +96,13 @@ export default class StatelessToolbarButton extends AbstractToolbarButton {
const attributes = getButtonAttributesByProps(button);
return (
- <a
- { ...attributes }
- onClick = { this._onClick }>
- { this.props.children }
- </a>
+ <div className = { `toolbar-button-wrapper ${button.id}-wrapper` }>
+ <a
+ { ...attributes }
+ onClick = { this._onClick }>
+ { this.props.children }
+ </a>
+ </div>
);
}
diff --git a/react/features/toolbox/components/ToolbarButton.web.js b/react/features/toolbox/components/ToolbarButton.web.js
index f5cd55cfee..3b37250a0a 100644
--- a/react/features/toolbox/components/ToolbarButton.web.js
+++ b/react/features/toolbox/components/ToolbarButton.web.js
@@ -140,11 +140,7 @@ class ToolbarButton extends Component<*> {
);
}
- return (
- <div className = { `toolbar-button-wrapper ${button.id}-wrapper` }>
- { children }
- </div>
- );
+ return children;
}
/**