增加尺寸限制
This commit is contained in:
parent
c281d1e008
commit
fb9ec67837
|
@ -10,4 +10,13 @@
|
|||
body {
|
||||
color: var(--foreground);
|
||||
background: var(--background);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* 确保在所有设备上保持移动端的体验 */
|
||||
html, body {
|
||||
overflow-x: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -18,7 +18,9 @@ export default function RootLayout({ children }) {
|
|||
return (
|
||||
<html lang="zh-CN">
|
||||
<body>
|
||||
{children}
|
||||
<div className="w-full flex justify-center">
|
||||
<div className="w-[480px]">{children}</div>
|
||||
</div>
|
||||
<Toaster
|
||||
toastOptions={{
|
||||
duration: 2000,
|
||||
|
|
Loading…
Reference in New Issue