From 19f1b5557464c9e31c668aa481da5937ea4136ed Mon Sep 17 00:00:00 2001 From: Deimos Date: Fri, 22 Nov 2019 15:16:19 -0700 Subject: [PATCH] Use display: block for code blocks inside

Fixes some minor formatting issues that can come up with code blocks,
since they were previously being treated as inline-block. For example,
this caused list items containing a code block to have a mis-positioned
list item marker.
---
 tildes/scss/_base.scss | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tildes/scss/_base.scss b/tildes/scss/_base.scss
index b827ef8..ab5ed40 100644
--- a/tildes/scss/_base.scss
+++ b/tildes/scss/_base.scss
@@ -180,6 +180,7 @@ pre {
   overflow: auto;
 
   code {
+    display: block;
     line-height: 1.1rem;
   }
 }