From 21601449d12ce20f9a72836995150eba772eb58b Mon Sep 17 00:00:00 2001 From: Alexander Leonhardt Date: Sat, 15 Aug 2026 19:27:30 +0200 Subject: feat: Updated the generated html code and css code to be more mobile friendly even on small devices. --- ui-commit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui-commit.c') diff --git a/ui-commit.c b/ui-commit.c index 972e9bc..acf0b25 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -49,7 +49,7 @@ void cgit_print_commit(char *hex, const char *prefix) cgit_print_layout_start(); cgit_print_diff_ctrls(); html("\n"); - html("\n"); @@ -69,7 +69,7 @@ void cgit_print_commit(char *hex, const char *prefix) html_txt(info->committer_email); } cgit_close_filter(ctx.repo->email_filter); - html("\n"); -- cgit
author"); + html("
author"); cgit_open_filter(ctx.repo->email_filter, info->author_email, "commit"); html_txt(info->author); if (!ctx.cfg.noplainemail) { @@ -57,7 +57,7 @@ void cgit_print_commit(char *hex, const char *prefix) html_txt(info->author_email); } cgit_close_filter(ctx.repo->email_filter); - html(""); + html("
"); html_txt(show_date(info->author_date, info->author_tz, cgit_date_mode(DATE_ISO8601))); html("
"); + html("
"); html_txt(show_date(info->committer_date, info->committer_tz, cgit_date_mode(DATE_ISO8601))); html("