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 <[email protected]>
This commit is contained in:
co-authored by
Rotimi Best
parent
be0085f090
commit
daae6c1d40
@@ -405,7 +405,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</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.HeaderContent>
|
||||||
<Page.Title class="flex flex-col gap-2">
|
<Page.Title class="flex flex-col gap-2">
|
||||||
<span>{exerciseDisplayTitle}</span>
|
<span>{exerciseDisplayTitle}</span>
|
||||||
|
|||||||
@@ -387,7 +387,7 @@
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Page.Header>
|
<Page.Header isSticky={true} class="top-12! min-h-[36px]">
|
||||||
<Page.HeaderContent>
|
<Page.HeaderContent>
|
||||||
<LessonPageEditHeader
|
<LessonPageEditHeader
|
||||||
{mode}
|
{mode}
|
||||||
|
|||||||
Reference in New Issue
Block a user