功能:适配前端宽屏桌面布局
This commit is contained in:
@@ -1027,4 +1027,14 @@ const loadWishlistCount = async () => {
|
||||
background: #f5f5f5;
|
||||
color: #8b8b9a;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.header-bg,
|
||||
.header {
|
||||
width: min(100%, var(--frontend-page-max-width));
|
||||
left: 50%;
|
||||
right: auto;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user