fix: 1024px+ 屏幕填满,去除居中空白
This commit is contained in:
+8
-1
@@ -274,7 +274,14 @@ onMounted(async () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 超宽屏填满屏幕,去掉居中限制 */
|
/* 超宽屏填满屏幕,逐步去掉居中限制 */
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
:root {
|
||||||
|
--content-max-width: 100%;
|
||||||
|
--content-padding: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* 大屏增加内边距 */
|
||||||
@media (min-width: 1400px) {
|
@media (min-width: 1400px) {
|
||||||
:root {
|
:root {
|
||||||
--content-max-width: 100%;
|
--content-max-width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user