Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit c0bc780

Browse files
committed
fix: too much padding at top of page
1 parent 1bed921 commit c0bc780

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

layouts/GlobalLayout.vue

+10-9
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,15 @@ export default {
4343
<style lang="stylus">
4444
#vuepress-theme-blog__global-layout
4545
word-wrap break-word
46-
.content-wrapper
47-
padding 160px 15px 80px 15px
48-
min-height calc(100vh - 80px - 60px - 160px)
49-
max-width $contentWidth
50-
margin 0 auto
5146
52-
@media (max-width: $MQMobile)
53-
.content-wrapper
54-
padding 100px 15px 20px 15px
55-
min-height calc(100vh - 20px - 60px - 100px)
47+
.content-wrapper
48+
padding 160px 15px 80px 15px
49+
min-height calc(100vh - 80px - 60px - 160px)
50+
max-width $contentWidth
51+
margin 0 auto
52+
53+
@media (max-width: $MQMobile)
54+
&
55+
padding 100px 15px 20px 15px
56+
min-height calc(100vh - 20px - 60px - 100px)
5657
</style>

0 commit comments

Comments
 (0)