fix(sidebar): scope elevated mobile z-index to course sidebar

Remove the global z-150 mobile sheet stacking from Sidebar.Root so LMS
and org sidebars keep the default sheet layer. Course sidebar opts in via
mobileOverlayClass and its existing z-150 class.

Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-07-10 07:36:06 +00:00
co-authored by Rotimi Best
parent 035d976d14
commit b888725125
2 changed files with 5 additions and 3 deletions
@@ -112,7 +112,7 @@
{#if !isOrgLoaded}
<SidebarSkeleton />
{:else}
<Sidebar.Root collapsible="icon" class="ui:z-150!">
<Sidebar.Root collapsible="icon" class="ui:z-150!" mobileOverlayClass="ui:z-150!">
<Sidebar.Header>
<CourseSidebarLogo />
</Sidebar.Header>