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