Merge pull request #18851 from ramonlsouza/issue-18816

fix: RTL on mobile - webcam not centered
This commit is contained in:
Ramón Souza 2023-09-26 17:50:26 -03:00 committed by GitHub
commit 32d6532308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ const SmartLayout = (props) => {
cameraDockBounds.top = navBarHeight;
cameraDockBounds.left = mediaAreaBounds.left;
cameraDockBounds.right = isRTL ? sidebarSize + camerasMargin * 2 : null;
cameraDockBounds.right = isRTL ? sidebarSize : null;
cameraDockBounds.zIndex = 1;
if (mediaBounds.width < mediaAreaBounds.width) {