Closed gremo closed 1 year ago
I'm using the following configuration. Opening the leftEdgeSidebar when xs causes the body to shift because of the padding-right added. How to disable this feature?
leftEdgeSidebar
xs
padding-right
import { Scheme } from '@mui-treasury/layout'; export const scheme: Scheme = { header: { config: { xs: { position: 'sticky', height: 56, clipped: true }, md: { position: 'relative', height: 64, clipped: true } }, }, leftEdgeSidebar: { autoCollapse: 'lg', config: { xs: { variant: 'temporary', width: 256 }, lg: { variant: 'permanent', width: 256, collapsible: true, collapsedWidth: 64, headerMagnetEnabled: true } }, }, };
It turns out it's a Material-UI feature.
I'm using the following configuration. Opening the
leftEdgeSidebar
whenxs
causes the body to shift because of thepadding-right
added. How to disable this feature?