Skip to content
Snippets Groups Projects
Unverified Commit fc941aab authored by Daniel Rudolf's avatar Daniel Rudolf
Browse files

Fix inline code line height

`line-height: 1.9778;` is the result of `calc(1rem * 1.6 / 0.9 + 2 * 0.1em)` (`1rem * 1.6 / 0.9` equals the default line height (= `1.6` times) adjusted by the smaller font size (= `0.9rem`), plus `0.1em` vertical space on top and bottom)
parent 777f852a
Branches
No related tags found
No related merge requests found
...@@ -270,6 +270,7 @@ code { ...@@ -270,6 +270,7 @@ code {
background: #f5f5f5; background: #f5f5f5;
font-family: 'Droid Sans Mono', 'Courier New', 'Courier', monospace; font-family: 'Droid Sans Mono', 'Courier New', 'Courier', monospace;
font-size: 0.9rem; font-size: 0.9rem;
line-height: 1.9778;
} }
pre { pre {
...@@ -277,7 +278,6 @@ pre { ...@@ -277,7 +278,6 @@ pre {
border: 1px solid #ccc; border: 1px solid #ccc;
border-radius: 0.3em; border-radius: 0.3em;
background: #f5f5f5; background: #f5f5f5;
line-height: 1.4;
} }
pre code { pre code {
display: block; display: block;
...@@ -286,6 +286,7 @@ pre code { ...@@ -286,6 +286,7 @@ pre code {
border: 0 none; border: 0 none;
background: transparent; background: transparent;
overflow-x: auto; overflow-x: auto;
line-height: 1.4;
} }
/*** BLOCKQUOTE ***/ /*** BLOCKQUOTE ***/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment