This commit is contained in:
longdayi 2025-01-26 11:36:20 +08:00
parent cabec45c64
commit 0173405dc8
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ export default function InboxPage() {
const { user } = useAuth(); const { user } = useAuth();
return ( return (
// 添加 flex flex-col 使其成为弹性布局容器 // 添加 flex flex-col 使其成为弹性布局容器
<div className="min-h-screen shadow-elegant border-2 border-white rounded-xl overflow-hidden bg-gradient-to-b from-slate-100 to-slate-50 flex flex-col"> <div className="min-h-screen shadow-elegant border-2 border-white rounded-xl overflow-hidden bg-slate-200">
<Header /> <Header />
{/* 添加 flex-grow 使内容区域自动填充剩余空间 */} {/* 添加 flex-grow 使内容区域自动填充剩余空间 */}

View File

@ -5,7 +5,7 @@ export default function OutboxPage() {
const { user } = useAuth(); const { user } = useAuth();
return ( return (
// 添加 flex flex-col 使其成为弹性布局容器 // 添加 flex flex-col 使其成为弹性布局容器
<div className="min-h-screen shadow-elegant border-2 border-white rounded-xl overflow-hidden bg-gradient-to-b from-slate-100 to-slate-50 flex flex-col"> <div className="min-h-screen shadow-elegant border-2 border-white rounded-xl overflow-hidden bg-slate-200">
<Header /> <Header />
{/* 添加 flex-grow 使内容区域自动填充剩余空间 */} {/* 添加 flex-grow 使内容区域自动填充剩余空间 */}