From fc941aab0c93596a55094072edf2cd46fa7fbe9d Mon Sep 17 00:00:00 2001
From: Daniel Rudolf <github.com@daniel-rudolf.de>
Date: Sat, 12 Oct 2019 19:51:34 +0200
Subject: [PATCH] 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)
---
 css/style.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/css/style.css b/css/style.css
index 6ed70e7..3b66dad 100644
--- a/css/style.css
+++ b/css/style.css
@@ -270,6 +270,7 @@ code {
     background: #f5f5f5;
     font-family: 'Droid Sans Mono', 'Courier New', 'Courier', monospace;
     font-size: 0.9rem;
+    line-height: 1.9778;
 }
 
 pre {
@@ -277,7 +278,6 @@ pre {
     border: 1px solid #ccc;
     border-radius: 0.3em;
     background: #f5f5f5;
-    line-height: 1.4;
 }
 pre code {
     display: block;
@@ -286,6 +286,7 @@ pre code {
     border: 0 none;
     background: transparent;
     overflow-x: auto;
+    line-height: 1.4;
 }
 
 /*** BLOCKQUOTE ***/
-- 
GitLab