修复新版首页滚动并下调视觉字号
This commit is contained in:
parent
459dc5ccbb
commit
eca07e4b59
@ -64,7 +64,7 @@ export function ChatShell({
|
||||
const isLovartHome = pathname === "/" && homeVariant === "lovart";
|
||||
|
||||
if (isLovartHome) {
|
||||
return <div className="h-svh w-full overflow-hidden">{children}</div>;
|
||||
return <div className="h-svh w-full overflow-y-auto">{children}</div>;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@ -343,7 +343,7 @@ export function LovartHome({
|
||||
<Sparkles className="h-4 w-4" />
|
||||
</div>
|
||||
)}
|
||||
<span className="text-[34px] font-semibold leading-none tracking-tight">
|
||||
<span className="text-[20px] font-semibold leading-none tracking-tight">
|
||||
{siteName || "Lovart"}
|
||||
</span>
|
||||
</button>
|
||||
@ -376,7 +376,7 @@ export function LovartHome({
|
||||
<div className="p-6">
|
||||
<div className="mb-4 flex items-start justify-between">
|
||||
<div>
|
||||
<div className="text-[42px] font-semibold leading-none text-black">
|
||||
<div className="text-[30px] font-semibold leading-none text-black">
|
||||
{currentPlan?.name || "Free"}
|
||||
</div>
|
||||
</div>
|
||||
@ -388,7 +388,7 @@ export function LovartHome({
|
||||
升级
|
||||
</Button>
|
||||
</div>
|
||||
<div className="space-y-3 border-t border-black/10 pt-4 text-[34px]">
|
||||
<div className="space-y-3 border-t border-black/10 pt-4 text-base">
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="inline-flex items-center gap-2 text-black/80">
|
||||
<Sparkles className="h-4 w-4" />
|
||||
@ -488,11 +488,11 @@ export function LovartHome({
|
||||
<Sparkles className="h-4 w-4" />
|
||||
</div>
|
||||
)}
|
||||
<h1 className="text-[54px] font-semibold tracking-tight">
|
||||
<h1 className="text-[42px] font-semibold tracking-tight">
|
||||
{siteName || "Lovart"} 让设计更简单
|
||||
</h1>
|
||||
</div>
|
||||
<p className="mt-2 text-lg text-black/35">懂你的设计代理,帮你搞定一切</p>
|
||||
<p className="mt-2 text-base text-black/35">懂你的设计代理,帮你搞定一切</p>
|
||||
|
||||
<div className="mx-auto mt-7 w-full max-w-[900px] rounded-[26px] border border-black/10 bg-white px-4 pb-3 pt-4 shadow-[0_10px_24px_rgba(0,0,0,0.05)]">
|
||||
<Textarea
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user