修复:将前端宽屏布局改为响应式

This commit is contained in:
xiaowang
2026-03-24 09:59:52 +08:00
parent 5302af0c1a
commit c041c754cb
13 changed files with 170 additions and 92 deletions
+4 -3
View File
@@ -6,7 +6,8 @@
--text-secondary: #999999;
--border-radius-base: 10px;
--border-radius-large: 30px;
--frontend-page-max-width: 480px;
--frontend-page-max-width: 1280px;
--frontend-content-max-width: 1120px;
--admin-content-max-width: 1440px;
}
@@ -24,7 +25,7 @@ body {
.mobile-container {
width: 100%;
max-width: 375px;
max-width: 100%;
margin: 0 auto;
min-height: 100vh;
background-color: var(--bg-color);
@@ -32,7 +33,7 @@ body {
overflow-x: hidden;
}
@media (min-width: 768px) {
@media (min-width: 992px) {
.mobile-container {
max-width: var(--frontend-page-max-width);
}