From 78de8f1a1f423a86c05f361e87012a8ea1f1211b Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 1 Jul 2017 15:33:02 +0800 Subject: IMPORTANT: Replace all rem units to px --- src/codes.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/codes.less') diff --git a/src/codes.less b/src/codes.less index bdb73ee..e08948b 100644 --- a/src/codes.less +++ b/src/codes.less @@ -7,7 +7,7 @@ code { .code { border-radius: @border-radius; color: @body-font-color; - line-height: 2rem; + line-height: @line-height; position: relative; &::before { @@ -15,8 +15,8 @@ code { color: @gray-color; font-size: @font-size-sm; position: absolute; - right: 1rem; - top: .2rem; + right: @layout-spacing; + top: @unit-h; } code { @@ -25,7 +25,7 @@ code { display: block; line-height: inherit; overflow-x: auto; - padding: 2rem; + padding: 20px; width: 100%; } } -- cgit v1.3.1-23-gd82d