change basic layout about overflow scrollbar position

This commit is contained in:
moonrailgun 2023-10-29 01:25:29 +08:00
parent 64f33dd802
commit b9d9391342

View File

@ -71,9 +71,11 @@ export const Layout: React.FC = React.memo(() => {
</div> </div>
</div> </div>
)} )}
<div className="flex-1 w-full px-4 overflow-hidden"> <div className="flex-1 w-full overflow-hidden">
<div className="max-w-7xl m-auto h-full overflow-auto"> <div className="h-full px-4 overflow-auto">
<Outlet /> <div className="max-w-7xl m-auto">
<Outlet />
</div>
</div> </div>
</div> </div>
</div> </div>