From 2d52325bcc86e1f157ee6b69d56cba50600ba31e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 7 May 2020 13:09:55 -0400 Subject: [PATCH] Revert "Add back gray background to pre block" This reverts commit 933c336b15e73eee2fd5e78afcb609b158c6d0cd. --- gitsrht/templates/blob.html | 2 +- scss/main.scss | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gitsrht/templates/blob.html b/gitsrht/templates/blob.html index 3b944cb..2531f72 100644 --- a/gitsrht/templates/blob.html +++ b/gitsrht/templates/blob.html @@ -8,7 +8,7 @@ pre { tab-size: {{editorconfig.tab_width()}} } -body { +pre, body { padding-bottom: 0; margin-bottom: 0; } diff --git a/scss/main.scss b/scss/main.scss index d533124..4bc3715 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -11,7 +11,9 @@ } pre { - margin: 0.25rem 0; + padding-left: 0; + padding-right: 0; + background: transparent; } .tree-list { -- 2.38.4