Merge pull request #18851 from ramonlsouza/issue-18816
fix: RTL on mobile - webcam not centered
This commit is contained in:
commit
32d6532308
@ -197,7 +197,7 @@ const SmartLayout = (props) => {
|
|||||||
|
|
||||||
cameraDockBounds.top = navBarHeight;
|
cameraDockBounds.top = navBarHeight;
|
||||||
cameraDockBounds.left = mediaAreaBounds.left;
|
cameraDockBounds.left = mediaAreaBounds.left;
|
||||||
cameraDockBounds.right = isRTL ? sidebarSize + camerasMargin * 2 : null;
|
cameraDockBounds.right = isRTL ? sidebarSize : null;
|
||||||
cameraDockBounds.zIndex = 1;
|
cameraDockBounds.zIndex = 1;
|
||||||
|
|
||||||
if (mediaBounds.width < mediaAreaBounds.width) {
|
if (mediaBounds.width < mediaAreaBounds.width) {
|
||||||
|
Loading…
Reference in New Issue
Block a user