diff --git a/themes/next/source/css/_common/components/post/post-expand.styl b/themes/next/source/css/_common/components/post/post-expand.styl index 8836c0ea..8c6d8a5b 100644 --- a/themes/next/source/css/_common/components/post/post-expand.styl +++ b/themes/next/source/css/_common/components/post/post-expand.styl @@ -4,7 +4,7 @@ padding-top: 40px; } -@media (max-width: 600px) { +@media (max-width: 767px) { .posts-expand { margin: 0 20px; } diff --git a/themes/next/source/css/_variables/custom.styl b/themes/next/source/css/_variables/custom.styl index e69de29b..37a0b55e 100644 --- a/themes/next/source/css/_variables/custom.styl +++ b/themes/next/source/css/_variables/custom.styl @@ -0,0 +1,5 @@ +// 修改成你期望的宽度 +$content-desktop = 700px + +// 当视窗超过 1600px 后的宽度 +$content-desktop-large = 900px