From dc3c63243ccfc21375ec3da6d0b8a5ef60c126ea Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 15 Jul 2026 09:40:23 -1000 Subject: Add viewport and color-scheme meta tags Without a viewport meta, mobile browsers assume a desktop-width page and scale it down, which is the root cause of content overflowing on small screens. --- source/ui-shared.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/ui-shared.c b/source/ui-shared.c index 69d2cdf..757e328 100644 --- a/source/ui-shared.c +++ b/source/ui-shared.c @@ -815,6 +815,11 @@ void cgit_print_docstart(void) html(cgit_doctype); html("\n"); html("\n"); + html("\n"); + html("\n"); + html("\n"); + html("\n"); + html("\n"); html(""); html_txt(ctx.page.title); html("\n"); -- cgit v2.8.0