style: improve mobile size padding

This commit is contained in:
moonrailgun 2023-12-12 19:19:50 +08:00
parent 3ca2cbb2d6
commit e7282ef7f9

View File

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