diff --git a/src/UIShell/Content.svelte b/src/UIShell/Content.svelte index 768b1dc563..cda23db30a 100644 --- a/src/UIShell/Content.svelte +++ b/src/UIShell/Content.svelte @@ -1,24 +1,8 @@ -
+
diff --git a/src/UIShell/SideNav.svelte b/src/UIShell/SideNav.svelte index 3db9e0bb9b..7b5108363a 100644 --- a/src/UIShell/SideNav.svelte +++ b/src/UIShell/SideNav.svelte @@ -72,9 +72,8 @@ class:bx--side-nav__navigation="{true}" class:bx--side-nav="{true}" class:bx--side-nav--ux="{true}" - class:bx--side-nav--expanded="{rail && winWidth >= expansionBreakpoint - ? false - : isOpen}" + class:bx--side-nav--fixed="{isOpen && !rail}" + class:bx--side-nav--expanded="{!rail && winWidth >= expansionBreakpoint}" class:bx--side-nav--collapsed="{!isOpen && !rail}" class:bx--side-nav--rail="{rail}" {...$$restProps}