[OCaml] Mobile-friendly clone of cgit.
style align root page repo list with directory listing pattern
The root '/' page now renders repositories using the same li > a wrapping pattern as directory entries, providing full-width click targets with consistent hover behaviour.
lib/views/root.ml
@@ -14,10 +14,8 @@
14
14
HTML.(
15
15
li []
16
16
[
17
Removed:
span
18
Removed:
[ class_ "commit-left" ]
19
Removed:
[ Routes.link_to (Routes.Repo repo_name) (txt "%s" repo_name) ];
20
Removed:
ago_span;
17
Added:
Routes.link_to (Routes.Repo repo_name)
18
Added:
(null [ txt "%s" repo_name; ago_span ]);
21
19
])
22
20
in
23
21
let all_repositories =