fix(page): fix page width too large at md breakpoint

This commit is contained in:
unix
2020-05-13 23:44:55 +08:00
parent da723aa52a
commit 1bb7b92b69

View File

@@ -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>
)