This commit is contained in:
freedakgmail
2025-11-29 22:29:48 +08:00
parent d22f1fb889
commit b436ae0680
153 changed files with 302 additions and 270 deletions
+4 -4
View File
@@ -101,10 +101,10 @@ export default function SettingsPage() {
}
return (
<div className="min-h-screen bg-background flex flex-col font-sans">
<div className="h-screen bg-background flex flex-col font-sans overflow-hidden">
<SiteHeader />
<main className="container mx-auto py-8 px-4 md:px-6 flex-1 max-w-6xl">
<div className="flex items-center justify-between mb-8">
<main className="container mx-auto py-8 px-4 md:px-6 flex-1 max-w-6xl flex flex-col overflow-hidden">
<div className="flex items-center justify-between mb-8 flex-shrink-0">
<h1 className="text-3xl font-serif font-bold"></h1>
{userProfile?.isAdmin && (
<Link href="/admin">
@@ -116,7 +116,7 @@ export default function SettingsPage() {
)}
</div>
<div className="space-y-6">
<div className="space-y-6 overflow-y-auto flex-1 pb-8">
{/* 用户信息和密码修改 - 两列布局 */}
{session && (
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6">