aboutsummaryrefslogtreecommitdiffstats
path: root/ui-repolist.c
diff options
context:
space:
mode:
authorAlexander Leonhardt <equinox.salexander@gmail.com>
2026-08-15 19:27:30 +0200
committerAlexander Leonhardt <equinox.salexander@gmail.com>
2026-08-16 12:50:57 +0200
commit21601449d12ce20f9a72836995150eba772eb58b (patch)
tree7103aa42832a1399d4a49d3edf6ca788ca00444f /ui-repolist.c
parentf7deb6e32bb486d7ec9613ba60d5d553157d767f (diff)
downloadcgit-21601449d12ce20f9a72836995150eba772eb58b.tar.gz
cgit-21601449d12ce20f9a72836995150eba772eb58b.tar.bz2
cgit-21601449d12ce20f9a72836995150eba772eb58b.zip
feat: Updated the generated html code and css code to be more mobile friendly even on small devices.
Diffstat (limited to 'ui-repolist.c')
-rw-r--r--ui-repolist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index ed6f12c..328a770 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -328,8 +328,7 @@ void cgit_print_repolist(void)
}
last_section = section;
}
- htmlf("<tr><td class='%s'>",
- !sorted && section ? "sublevel-repo" : "toplevel-repo");
+ html("<tr><td>");
cgit_summary_link(ctx.repo->name, NULL, NULL, NULL);
html("</td><td>");
repourl = cgit_repourl(ctx.repo->url);