fix the site title margin

This commit is contained in:
PrinOrange
2024-01-15 11:04:35 +08:00
parent 4196dfc641
commit 9ce7d49ed9

View File

@@ -35,7 +35,7 @@ export const NavBar = () => {
<Sheet open={isSideNavOpen} onOpenChange={(open) => setIsSideNavOpen(open)}>
<div className="sticky top-0 z-50 border-gray-200 dark:border-gray-700 border-b flex flex-wrap justify-between py-3 backdrop-blur bg-white/50 dark:bg-gray-950/50 px-5 lg:px-20 xl:px-32 2xl:px-52">
<Link href="/" className="cursor-pointer my-auto text-2xl font-bold">
<h1 className={`${fontFangZhengXiaoBiaoSongCN.className}`}>{Config.SiteTitle}</h1>
<h1 className={`${fontFangZhengXiaoBiaoSongCN.className} my-auto`}>{Config.SiteTitle}</h1>
</Link>
<div className="my-auto hidden sm:flex">
{MenuItems.map((menuItem) => (