Better shift, but not dynamic

This commit is contained in:
Lim Chee Aun 2024-03-28 12:18:25 +08:00
parent 6950698935
commit 32fb406629

View file

@ -543,7 +543,11 @@ function AccountInfo({
<header> <header>
{standalone ? ( {standalone ? (
<Menu2 <Menu2
shift={64} shift={
window.matchMedia('(min-width: calc(40em))').matches
? 114
: 64
}
menuButton={ menuButton={
<div> <div>
<AccountBlock <AccountBlock