From 0dcb8a025b166312dacb9d107d91d564a1e4a3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 16 Mar 2021 09:54:22 +0100 Subject: [PATCH] fix(rn,bottomsheet) limit width --- react/features/base/dialog/components/native/styles.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/react/features/base/dialog/components/native/styles.js b/react/features/base/dialog/components/native/styles.js index 84638bb96..a356b356d 100644 --- a/react/features/base/dialog/components/native/styles.js +++ b/react/features/base/dialog/components/native/styles.js @@ -43,7 +43,11 @@ export const bottomSheetStyles = { alignItems: 'stretch', flex: 1, flexDirection: 'column', - justifyContent: 'flex-end' + justifyContent: 'flex-end', + maxWidth: 500, + marginLeft: 'auto', + marginRight: 'auto', + width: '100%' }, sheetItemContainer: {