in packages/ui-app/app/[orgID]/layout.tsx the follwoing style style={{ width: 'calc(100% - 251px)' }} assumes that the sidebar is always opened, so if sidebar is closed, the layout doesn't take the full width, as temp solution remove the style.
furthere improvement can be done in future (a OR b):
a. to make the sidebar in mobile device float over the content (like a drawer).
b. attach listener to sidebar to know the status of it, and dynamically apply the style if sidebar is opened and remove it if sidebar is closed.
in
packages/ui-app/app/[orgID]/layout.tsx
the follwoing stylestyle={{ width: 'calc(100% - 251px)' }}
assumes that the sidebar is always opened, so if sidebar is closed, the layout doesn't take the full width, as temp solution remove the style.furthere improvement can be done in future (a OR b): a. to make the sidebar in mobile device float over the content (like a drawer). b. attach listener to sidebar to know the status of it, and dynamically apply the style if sidebar is opened and remove it if sidebar is closed.