~edwargix/git.sr.ht

2d3175c5e4fa9f92824b8e3b642c1a7486b6fc8a — Vlad-Stefan Harbuz 2 years ago 9f9c129
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 <pre>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 <vlad@vladh.net>
1 files changed, 0 insertions(+), 4 deletions(-)

M gitsrht/templates/blob.html
M gitsrht/templates/blob.html => gitsrht/templates/blob.html +0 -4
@@ 8,10 8,6 @@
pre {
  tab-size: {{editorconfig.tab_width()}}
}
pre, body {
  padding-bottom: 0;
  margin-bottom: 0;
}
</style>
{% endblock %}
{% block content %}