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