aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/renderers/Code.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/renderers/Code.js')
-rw-r--r--frontend/src/components/renderers/Code.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/renderers/Code.js b/frontend/src/components/renderers/Code.js
index 0c601b3..7c32c39 100644
--- a/frontend/src/components/renderers/Code.js
+++ b/frontend/src/components/renderers/Code.js
@@ -36,14 +36,14 @@ export const LANGS = Object.freeze({
})
const StyledPre = styled.pre`
- padding: 0 !important;
+ padding: calc(0.8em - 1px) !important;
margin: 0;
`
const CodeBlock = styled.div`
width: 100%;
font-size: 0.8em;
- padding: calc(0.8em - 1px) !important;
+ min-height: 1.2em;
border-radius: 3px;
border: 1px solid #565656;
outline: none;