fix: 移除 body 硬编码背景色,修复 dark 模式底部白底问题

This commit is contained in:
erio
2026-03-04 21:23:48 +08:00
parent 56bf0916e3
commit f96f89b7bb
2 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ export default function RootLayout({
}>) {
return (
<html lang="zh-CN">
<body className="bg-gray-50 text-gray-900 antialiased">{children}</body>
<body className="antialiased">{children}</body>
</html>
);
}

View File

@@ -64,7 +64,7 @@ function ResultContent() {
if (loading) {
return (
<div className="flex min-h-screen items-center justify-center">
<div className="flex min-h-screen items-center justify-center bg-slate-50">
<div className="text-gray-500">...</div>
</div>
);
@@ -73,7 +73,7 @@ function ResultContent() {
const isPending = status === 'PENDING';
return (
<div className="flex min-h-screen items-center justify-center p-4">
<div className="flex min-h-screen items-center justify-center bg-slate-50 p-4">
<div className="w-full max-w-md rounded-xl bg-white p-8 text-center shadow-lg">
{isSuccess ? (
<>
@@ -147,7 +147,7 @@ export default function PayResultPage() {
return (
<Suspense
fallback={
<div className="flex min-h-screen items-center justify-center">
<div className="flex min-h-screen items-center justify-center bg-slate-50">
<div className="text-gray-500">...</div>
</div>
}