fix(course): keep lesson header below mobile sidebar

Remove the z-100 override on sticky lesson/exercise page headers so they
stack below the mobile sidebar sheet (z-50). Also make the lesson page
header sticky to match the exercise page.

Co-authored-by: Rotimi Best <rotimi-best@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-07-10 05:12:32 +00:00
co-authored by Rotimi Best
parent be0085f090
commit daae6c1d40
2 changed files with 2 additions and 2 deletions
@@ -405,7 +405,7 @@
}
</script>
<Page.Header isSticky={true} class="top-12! z-100! min-h-[36px]">
<Page.Header isSticky={true} class="top-12! min-h-[36px]">
<Page.HeaderContent>
<Page.Title class="flex flex-col gap-2">
<span>{exerciseDisplayTitle}</span>
@@ -387,7 +387,7 @@
}}
/>
<Page.Header>
<Page.Header isSticky={true} class="top-12! min-h-[36px]">
<Page.HeaderContent>
<LessonPageEditHeader
{mode}