From 2d3175c5e4fa9f92824b8e3b642c1a7486b6fc8a Mon Sep 17 00:00:00 2001 From: Vlad-Stefan Harbuz Date: Fri, 5 Aug 2022 12:17:40 +0100 Subject: [PATCH] add whitespace back to pre, body on blob page This is a partial revert of fd8cca2e. It fixes a bug where, for example, viewing a README file on a blob page results in no bottom margin for
s at all, and
no bottom padding on the body. Adding bottom padding to the body also improves
the experience on mobile.

Signed-off-by: Vlad-Stefan Harbuz 
---
 gitsrht/templates/blob.html | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gitsrht/templates/blob.html b/gitsrht/templates/blob.html
index c838f61..09bb5eb 100644
--- a/gitsrht/templates/blob.html
+++ b/gitsrht/templates/blob.html
@@ -8,10 +8,6 @@
 pre {
   tab-size: {{editorconfig.tab_width()}}
 }
-pre, body {
-  padding-bottom: 0;
-  margin-bottom: 0;
-}
 
 {% endblock %}
 {% block content %}
-- 
2.38.4