mirror of
https://github.com/zhigang1992/react.git
synced 2026-05-13 02:01:59 +08:00
fix(page): fix page width too large at md breakpoint
This commit is contained in:
@@ -89,16 +89,10 @@ const Page: React.FC<React.PropsWithChildren<NoteProps>> = ({
|
||||
max-width: 100vw;
|
||||
min-height: 100vh;
|
||||
margin: 0 auto;
|
||||
padding: 0 ${theme.layout.gap};
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: ${theme.layout.breakpointMobile}) {
|
||||
section {
|
||||
max-width: 90vw;
|
||||
min-height: -webkit-fill-available;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
</section>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user