togglable panel position

This commit is contained in:
Felix Roos 2023-08-18 15:58:51 +02:00
parent cd0f1b6c5c
commit f6789aaace
4 changed files with 47 additions and 26 deletions

View file

@ -30,8 +30,9 @@ export function Header({ context }) {
<header
id="header"
className={cx(
'py-1 flex-none w-full text-black justify-between z-[100] text-lg select-none sticky top-0',
'flex-none text-black z-[100] text-lg select-none',
!isZen && !isEmbedded && 'bg-lineHighlight',
isZen ? 'h-12 w-8 fixed top-0 left-0' : 'sticky top-0 w-full py-1 justify-between',
isEmbedded ? 'flex' : 'md:flex',
)}
>