MED-174: sidebar h-screen class was breaking sticky menu
This commit is contained in:
@@ -37,7 +37,7 @@ function PageWithSidebar(props: PageProps) {
|
||||
<div
|
||||
className={
|
||||
props.contentContainerClassName ??
|
||||
'mx-auto flex h-screen w-full flex-col bg-inherit'
|
||||
'mx-auto flex w-full flex-col bg-inherit'
|
||||
}
|
||||
>
|
||||
{MobileNavigation}
|
||||
@@ -71,7 +71,7 @@ function PageWithHeader(props: PageProps) {
|
||||
const { Navigation, Children, MobileNavigation } = getSlotsFromPage(props);
|
||||
|
||||
return (
|
||||
<div className={cn('z-900 flex h-screen flex-1 flex-col', props.className)}>
|
||||
<div className={cn('flex h-screen flex-1 flex-col', props.className)}>
|
||||
<div
|
||||
className={
|
||||
props.contentContainerClassName ?? 'flex flex-1 flex-col space-y-4'
|
||||
@@ -81,7 +81,7 @@ function PageWithHeader(props: PageProps) {
|
||||
className={cn(
|
||||
'bg-bg-background light:border-border dark:border-border dark:shadow-primary/10 flex h-15 items-center justify-between border-1 border-b px-4 py-1 lg:justify-start lg:shadow-xs',
|
||||
{
|
||||
'sticky top-0 z-1000 backdrop-blur-md': props.sticky ?? true,
|
||||
'sticky top-0 z-1000': props.sticky ?? true,
|
||||
},
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user