diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Replace `nbsp` spacing with CSS
Diffstat (limited to 'source')
| -rw-r--r-- | source/ui-refs.c | 8 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| -rw-r--r-- | source/ui-summary.c | 8 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2 files changed, 8 insertions, 8 deletions
diff --git a/source/ui-refs.c b/source/ui-refs.c index 624d1a0..1b32088 100644 --- a/source/ui-refs.c +++ b/source/ui-refs.c @@ -85,7 +85,7 @@ static void print_branch_header(void) html("<tr class='nohover'><th class='left'>Branch</th>" "<th class='left'>Commit message</th>" "<th class='left col-author'>Author</th>" - "<th class='left' colspan='2'>Age</th></tr>\n"); + "<th colspan='2' class='left'>Age</th></tr>\n"); } static int print_branch(struct refinfo *ref) @@ -131,7 +131,7 @@ static void print_tag_header(void) html("<tr class='nohover'><th class='left'>Tag</th>" "<th class='left'>Download</th>" "<th class='left col-author'>Author</th>" - "<th class='left' colspan='2'>Age</th></tr>\n"); + "<th colspan='2' class='left'>Age</th></tr>\n"); } static int print_tag(struct refinfo *ref) @@ -155,7 +155,7 @@ static int print_tag(struct refinfo *ref) cgit_tag_link(name, NULL, NULL, name); html("</td><td>"); if (ctx.repo->snapshots && (obj->type == OBJ_COMMIT)) - cgit_print_snapshot_links(ctx.repo, name, " "); + cgit_print_snapshot_links(ctx.repo, name, " "); else cgit_object_link(obj); html("</td><td class='col-author'>"); @@ -342,7 +342,7 @@ void cgit_print_refs(void) print_tags_page(ctx.cfg.max_ref_count); else { cgit_print_branches(ctx.cfg.max_ref_count); - html("<tr class='nohover'><td colspan='5'> </td></tr>\n"); + html("<tr class='nohover'><td colspan='5'></td></tr>\n"); cgit_print_tags(ctx.cfg.max_ref_count); } html("</table>\n"); diff --git a/source/ui-summary.c b/source/ui-summary.c index 2310e5c..3658bc5 100644 --- a/source/ui-summary.c +++ b/source/ui-summary.c @@ -44,8 +44,8 @@ static void print_clone_url(const char *url) // cgit_add_clone_urls may call back no times at all, so the heading // waits for a first url rather than being printed ahead of the walk. if (clone_urls_printed++ == 0) { - htmlf("<tr class='nohover'><td colspan='%d'> </td></tr>\n", columns); - htmlf("<tr class='nohover'><th class='left' colspan='%d'>Clone</th></tr>\n", columns); + htmlf("<tr class='nohover'><td colspan='%d'></td></tr>\n", columns); + htmlf("<tr class='nohover'><th colspan='%d' class='left'>Clone</th></tr>\n", columns); } htmlf("<tr><td colspan='%d' class='clone-url'><a rel='vcs-git' href='", columns); @@ -119,10 +119,10 @@ void cgit_print_summary(void) cgit_print_layout_start(); html("<table class='list'>\n"); cgit_print_branches(ctx.cfg.summary_branches); - htmlf("<tr class='nohover'><td colspan='%d'> </td></tr>\n", columns); + htmlf("<tr class='nohover'><td colspan='%d'></td></tr>\n", columns); cgit_print_tags(ctx.cfg.summary_tags); if (ctx.cfg.summary_log > 0) { - htmlf("<tr class='nohover'><td colspan='%d'> </td></tr>\n", columns); + htmlf("<tr class='nohover'><td colspan='%d'></td></tr>\n", columns); cgit_print_log(ctx.qry.head, 0, ctx.cfg.summary_log, NULL, NULL, NULL, 0, 0, 0); } |
