diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Run the blob and blame tables across the page
A short file left the rule above the code, and the highlight bar under a fragment, only as wide as its longest line.
-rw-r--r--assets/cgit.css4
1 file changed, 2 insertions, 2 deletions
diff --git a/assets/cgit.css b/assets/cgit.css
index 9e928f8..4853c32 100644
--- a/assets/cgit.css
+++ b/assets/cgit.css
@@ -648,7 +648,7 @@ div#cgit table.blob {
margin-top: 0.5em;
border-top: solid 1px var(--border-strong);
display: block;
- width: max-content;
+ min-width: 100%;
max-width: 100%;
overflow-x: auto;
}
@@ -743,7 +743,7 @@ div#cgit .hl-func {
div#cgit table.blame {
display: block;
- width: max-content;
+ min-width: 100%;
max-width: 100%;
overflow-x: auto;
}