summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-12-12 20:25:22 -0500
committerDrew DeVault <sir@cmpwn.com>2018-12-12 20:25:22 -0500
commite3e6fe9a586c29f81ac9edf27353ef7670950b1c (patch)
treea918bed107a98fb40bd2216d2bd17b14654e8aec
parent421420da9b0f8ab93997a5be7e1a293661ed24c0 (diff)
Fix horizontal scrolling on blob view
-rw-r--r--gitsrht/templates/blob.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/gitsrht/templates/blob.html b/gitsrht/templates/blob.html
index fd03801..db29dd4 100644
--- a/gitsrht/templates/blob.html
+++ b/gitsrht/templates/blob.html
@@ -60,7 +60,11 @@ pre, body {
</div>
</div>
<div class="container-fluid" style="padding-left: 0; padding-right: 0;">
- <div class="row">
+ {#
+ This row has some weird styles going on. This prevents the page from
+ scrolling horizontally
+ #}
+ <div class="row" style="margin-right: 0;">
{% if not blob.is_binary %}
<div class="col-md-12 code-view">
<pre class="ruler"><span>{% for i in range(80) %} {% endfor %}</span></pre>