You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collapsed side nav causes main content to have extra left margin
What package(s) are you using?
carbon-components
carbon-components-react
carbon-components-svelte
Detailed description
When following the UIShell examples, a collapsed side navigation bar causes extra margin to be present on the main content of the page. The responsible class seems to be
this may be a carbon-components-svelte specific issue, since from what I understand, the side nav should not be collapsed at wide viewport sizes. the margin exists so that there is space between the expanded side nav and the main content
Collapsed side nav causes main content to have extra left margin
What package(s) are you using?
carbon-components
carbon-components-react
carbon-components-svelte
Detailed description
When following the UIShell examples, a collapsed side navigation bar causes extra margin to be present on the main content of the page. The responsible class seems to be
carbon/packages/components/src/components/ui-shell/_content.scss
Line 28 in a987ca4
Steps to reproduce the issue
<nav>
element (notice that the nav is already collapsed, so this shouldn't affect anything)The text was updated successfully, but these errors were encountered: