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

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
+13 -7
View File
@@ -1028,13 +1028,19 @@ const loadWishlistCount = async () => {
color: #8b8b9a;
}
@media (min-width: 768px) {
.header-bg,
.header {
width: min(100%, var(--frontend-page-max-width));
left: 50%;
right: auto;
transform: translateX(-50%);
@media (min-width: 992px) {
.profile-info,
.stats-section,
.menu-section,
.logout-section,
.content-card {
max-width: 1040px;
margin-left: auto;
margin-right: auto;
}
.content-card {
margin-bottom: 15px;
}
}
</style>