修复:将前端宽屏布局改为响应式
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user