diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Overhaul the stylesheet with tokens and dark mode
The old sheet had no overflow rules, so wide code, diff, blame and stats blocks scrolled the whole page sideways on a phone. The classic layout, badge colours and age shading are kept.
Diffstat (limited to 'source')
-rw-r--r--source/ui-shared.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/ui-shared.c b/source/ui-shared.c
index 757e328..83454fe 100644
--- a/source/ui-shared.c
+++ b/source/ui-shared.c
@@ -813,7 +813,7 @@ void cgit_print_docstart(void)
}
html(cgit_doctype);
- html("<html lang='en'>\n");
+ html("<html lang='en' class='cgit-standalone'>\n");
html("<head>\n");
html("<meta charset='utf-8'/>\n");
html("<meta name='viewport' content='width=device-width, initial-scale=1'/>\n");