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

Commit c4cc56e

Browse files
committed
fix: remove excess space in mobile side
1 parent 78453bc commit c4cc56e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

layouts/GlobalLayout.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@
4343
min-height calc(100vh - 80px - 60px - 160px)
4444
max-width 740px
4545
margin 0 auto
46+
47+
@media (max-width: $MQMobile)
48+
.content-wrapper
49+
padding 100px 15px 20px 15px
50+
min-height calc(100vh - 20px - 60px - 100px)
4651
</style>

styles/mobile.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ $mobileSidebarWidth = $sidebarWidth * 0.82
2626
&.no-navbar
2727
.sidebar
2828
padding-top: 0
29+
{$contentClass}:not(.custom) > h1:first-child
30+
padding-top 2rem
2931

3032
// narrow mobile
3133
@media (max-width: $MQMobileNarrow)

0 commit comments

Comments
 (0)