fix: fix the header stickiness
This commit is contained in:
parent
23efa9ab4b
commit
e0edfb390a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ function Header({ docLinks }) {
|
||||||
}, [menuShown]);
|
}, [menuShown]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<header className="w-full border-b border-b-border sticky z-40 block h-12">
|
<header className="w-full border-b border-b-border sticky top-0 z-40 block h-12">
|
||||||
<div className="flex flex-row h-full px-2 py-2 mx-auto max-w-screen-xl">
|
<div className="flex flex-row h-full px-2 py-2 mx-auto max-w-screen-xl">
|
||||||
<Link href="/" className="mx-1.5">
|
<Link href="/" className="mx-1.5">
|
||||||
<span className="sr-only">MERNMail logo</span>
|
<span className="sr-only">MERNMail logo</span>
|
||||||
|
|
Loading…
Reference in a new issue