fix(layout): fixed header background color on mobile devices (#3561)

This commit is contained in:
Huang Xin
2026-03-18 20:08:43 +08:00
committed by GitHub
parent ad9bb58cd4
commit 2935eacb1c
@@ -139,7 +139,8 @@ const HeaderBar: React.FC<HeaderBarProps> = ({
return (
<div
className={clsx(
'bg-base-100 left-0 top-0 w-full',
'left-0 top-0 w-full',
isHeaderVisible && 'bg-base-100',
window.innerWidth < 640 ? 'fixed z-20' : 'absolute',
)}
style={{