mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-29 16:06:36 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user