summary history branches tags files
commit:84c33f189db1ef67ed6c608ed3a3ddffc25fd830
author:Trevor Bentley
committer:Trevor Bentley
date:Wed Jan 15 03:41:33 2025 +0100
parents:a0d20db7118301673ae49498e8f41cea58f7071c
file template: reduce width, enable overflow scroll
diff --git a/templates/default_dark/style.css b/templates/default_dark/style.css
line changes: +2/-1
index 4f466af..6157454
--- a/templates/default_dark/style.css
+++ b/templates/default_dark/style.css
@@ -266,7 +266,7 @@ div.file-contents {
     background-color: var(--offwhite);
     font-size: 1rem;
     overflow: visible;
-    padding: 0 0.5em 0 0.5em;
+    padding: 0 5em 0 5em;
 }
 div.commit-page, div.branch-page, div.tag-page {
     background-color: var(--offwhite);
@@ -349,6 +349,7 @@ table.links td.value {
 div.file-contents pre {
     background-color: var(--offwhite);
     padding: 0.2em 0.5em 0.2em 0.5em;
+    overflow: scroll;
 }
 div.file-contents table {
     border-collapse: true;

diff --git a/templates/default_light/style.css b/templates/default_light/style.css
line changes: +2/-1
index 716a574..a801b24
--- a/templates/default_light/style.css
+++ b/templates/default_light/style.css
@@ -263,7 +263,7 @@ div.file-contents {
     background-color: var(--offwhite);
     font-size: 1rem;
     overflow: visible;
-    padding: 0 0.5em 0 0.5em;
+    padding: 0 5em 0 5em;
 }
 div.commit-page, div.branch-page, div.tag-page {
     background-color: var(--offwhite);
@@ -346,6 +346,7 @@ table.links td.value {
 div.file-contents pre {
     background-color: var(--offerwhite);
     padding: 0.2em 0.5em 0.2em 0.5em;
+    overflow: scroll;
 }
 div.file-contents table {
     border-collapse: true;