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(toolbox): Constrain toolbox width on large mobile device

Vlad Piersecd214079148f0
diff --git a/react/features/toolbox/components/native/styles.js b/react/features/toolbox/components/native/styles.js
index b37d6db5a9..e9834b370c 100644
--- a/react/features/toolbox/components/native/styles.js
+++ b/react/features/toolbox/components/native/styles.js
@@ -65,6 +65,7 @@ const styles = {
toolbar: {
alignItems: 'center',
backgroundColor: ColorPalette.darkBackground,
+ borderRadius: 3,
flexDirection: 'row',
flexGrow: 0,
justifyContent: 'space-between',
@@ -77,7 +78,11 @@ const styles = {
*/
toolbox: {
flexDirection: 'column',
- flexGrow: 0
+ flexGrow: 0,
+ width: '100%',
+ maxWidth: 500,
+ marginLeft: 'auto',
+ marginRight: 'auto'
}
};