mirror of
https://git.zx2c4.com/cgit
synced 2025-06-21 01:25:46 +02:00
Fix colspan values
This fixes a couple of minor oversights in previous commits and adjusts all cells using colspan to use the correct width. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
This commit is contained in:
parent
6d7e3596eb
commit
ef8a97d9c6
3 changed files with 28 additions and 14 deletions
|
@ -177,7 +177,7 @@ static int print_tag(struct refinfo *ref)
|
|||
|
||||
static void print_refs_link(char *path)
|
||||
{
|
||||
html("<tr class='nohover'><td colspan='4'>");
|
||||
html("<tr class='nohover'><td colspan='5'>");
|
||||
cgit_refs_link("[...]", NULL, NULL, ctx.qry.head, NULL, path);
|
||||
html("</td></tr>");
|
||||
}
|
||||
|
@ -252,7 +252,7 @@ void cgit_print_refs()
|
|||
cgit_print_tags(0);
|
||||
else {
|
||||
cgit_print_branches(0);
|
||||
html("<tr class='nohover'><td colspan='4'> </td></tr>");
|
||||
html("<tr class='nohover'><td colspan='5'> </td></tr>");
|
||||
cgit_print_tags(0);
|
||||
}
|
||||
html("</table>");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue