revert: transform -> marginLeft in DefaultLayout motion div (#11522)

This commit is contained in:
nitin
2025-04-11 02:03:12 +05:30
committed by GitHub
parent e6bb3d4d51
commit 0cccb80221

View File

@ -80,16 +80,14 @@ export const DefaultLayout = () => {
<AppErrorBoundary FallbackComponent={AppFullScreenErrorFallback}>
<StyledPageContainer
animate={{
transform:
marginLeft:
isSettingsPage && !isMobile && !useShowFullScreen
? `translateX(${
(windowsWidth -
(OBJECT_SETTINGS_WIDTH +
NAV_DRAWER_WIDTHS.menu.desktop.expanded +
76)) /
2
}px)`
: 'translateX(0)',
? (windowsWidth -
(OBJECT_SETTINGS_WIDTH +
NAV_DRAWER_WIDTHS.menu.desktop.expanded +
76)) /
2
: 0,
}}
transition={{
duration: theme.animation.duration.normal,