aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-01-07 19:42:21 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-01-07 19:42:21 +0100
commitdd6b398c0bc2bf63e622143b6f38431ee045d3bc (patch)
treeaf8988ddfc7dd25944367f0643b5d04fa261b4f6
parenta8be5f2049ce24a66455a9a65b738b638eaf6814 (diff)
downloadrgoncalves.se-dd6b398c0bc2bf63e622143b6f38431ee045d3bc.tar.gz
style/cgit.css: Use full-width for file previewing
-rw-r--r--src/style/cgit.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/style/cgit.css b/src/style/cgit.css
index 0865d1c..48ca805 100644
--- a/src/style/cgit.css
+++ b/src/style/cgit.css
@@ -297,6 +297,10 @@ td.ls-mode {
width: 10em;
}
+td.lines {
+ width: 100%;
+}
+
table.blob {
margin-top: 0.5em;
border-top: solid 1px black;
@@ -304,7 +308,8 @@ table.blob {
table.blob td.hashes,
table.blob td.lines {
- margin: 0; padding: 0 0 0 0.5em;
+ margin: 0;
+ padding: 0 0 0 0.5em;
vertical-align: top;
color: black;
}
remember that computers suck.