diff options
IMPORTANT: Replace all rem units to px
1 files changed, 4 insertions, 4 deletions
| -rw-r--r-- | src/codes.less | 8 |
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%; } } |