Skip to content

Commit 695440f

Browse files
committed
fix: code margin on mobile
1 parent 9719bc3 commit 695440f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/default-theme/styles/mobile.styl

+4-3
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ $mobileSidebarWidth = $sidebarWidth * 0.82
2929
@media (max-width: $MQMobileNarrow)
3030
h1
3131
font-size 1.9rem
32-
pre, pre[class*="language-"]
33-
margin 0.85rem -1.5rem
34-
border-radius 0
3532
.content:not(.custom)
3633
padding 1.5rem
34+
.content
35+
pre, pre[class*="language-"]
36+
margin 0.85rem -1.5rem
37+
border-radius 0

0 commit comments

Comments
 (0)