fix(frontend): enable content scroll on mobile (#192)

Main content area had overflow-hidden on mobile which prevented
scrolling when content exceeded viewport height. Changed to
overflow-y-auto for consistent scroll behavior across all devices.
This commit is contained in:
sagit
2026-02-22 21:12:45 +08:00
committed by GitHub
parent fc5624a190
commit 00be0ac31e
+1 -1
View File
@@ -533,7 +533,7 @@ export default function AdminLayout({
{/* 主内容 */}
<main
className={`flex-1 bg-gray-100 dark:bg-black overflow-hidden ${isMobile ? "" : "overflow-y-scroll"}`}
className="flex-1 bg-gray-100 dark:bg-black overflow-y-auto"
>
<AnimatePresence mode="wait">
<motion.div