进一步收敛新版首页整体比例并保持对齐
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-02-13 21:12:00 +08:00
parent 1acdc846b9
commit 43d5d82798

View File

@ -123,6 +123,7 @@ const PROMPT_TAGS = [
];
const MASONRY_HEIGHTS = [420, 290, 340, 470, 300, 360, 430, 320];
const HOME_LAYOUT_SCALE = 0.9;
function formatRelativeTime(value?: string) {
if (!value) return "更新于今天";
@ -335,7 +336,13 @@ export function LovartHome({
};
return (
<div className="min-h-svh bg-[#f4f4f4] text-[#171717]">
<div
className="min-h-svh bg-[#f4f4f4] text-[#171717]"
style={{
zoom: HOME_LAYOUT_SCALE,
width: `${100 / HOME_LAYOUT_SCALE}%`,
}}
>
<header className="fixed left-0 top-0 z-40 h-[68px] w-full border-b border-black/5 bg-[#f4f4f4]/90 backdrop-blur">
<div className="mx-auto flex h-full max-w-[1360px] items-center justify-between px-6">
<button