媒体查询手机端宽度

This commit is contained in:
thofx
2023-07-22 20:27:30 +08:00
parent 0cec825895
commit 7d9d74c0d6

View File

@@ -44,6 +44,7 @@ body,
padding-top: calc(env(safe-area-inset-top) + 70px);
display: flex;
.page-content-container {
flex: 1;
display: flex;
@@ -56,6 +57,12 @@ body,
}
}
@media screen and (max-width: 990px){
.page-content-container > div:first-child {
width: calc(100vw - 1rem) !important;
}
}
.layout-footer {
.footer-content-container {
block-size: variables.$layout-vertical-nav-footer-height;