From 695440ff38fc10772c00fa33b3b6d9e814e3f483 Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 14 Apr 2018 17:07:16 -0400 Subject: [PATCH] fix: code margin on mobile --- lib/default-theme/styles/mobile.styl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/default-theme/styles/mobile.styl b/lib/default-theme/styles/mobile.styl index 68e411ca2e..089f75b297 100644 --- a/lib/default-theme/styles/mobile.styl +++ b/lib/default-theme/styles/mobile.styl @@ -29,8 +29,9 @@ $mobileSidebarWidth = $sidebarWidth * 0.82 @media (max-width: $MQMobileNarrow) h1 font-size 1.9rem - pre, pre[class*="language-"] - margin 0.85rem -1.5rem - border-radius 0 .content:not(.custom) padding 1.5rem + .content + pre, pre[class*="language-"] + margin 0.85rem -1.5rem + border-radius 0