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

Commit

Permalink
fix: too much padding at top of page
Browse files Browse the repository at this point in the history
  • Loading branch information
billyyyyy3320 committed Jan 25, 2020
1 parent 1bed921 commit c0bc780
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions layouts/GlobalLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@ export default {
<style lang="stylus">
#vuepress-theme-blog__global-layout
word-wrap break-word
.content-wrapper
padding 160px 15px 80px 15px
min-height calc(100vh - 80px - 60px - 160px)
max-width $contentWidth
margin 0 auto
@media (max-width: $MQMobile)
.content-wrapper
padding 100px 15px 20px 15px
min-height calc(100vh - 20px - 60px - 100px)
.content-wrapper
padding 160px 15px 80px 15px
min-height calc(100vh - 80px - 60px - 160px)
max-width $contentWidth
margin 0 auto
@media (max-width: $MQMobile)
&
padding 100px 15px 20px 15px
min-height calc(100vh - 20px - 60px - 100px)
</style>

0 comments on commit c0bc780

Please sign in to comment.