diff options
| -rw-r--r-- | cgithub/head-include.html | 6 | ||||
| -rw-r--r-- | ui-tree.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cgithub/head-include.html b/cgithub/head-include.html index bc8192f..2973be3 100644 --- a/cgithub/head-include.html +++ b/cgithub/head-include.html @@ -18,13 +18,13 @@ margin: var(--content-v-margin) auto; margin-top: 0; margin-bottom: 0; } -table.list tr:nth-child(n+12):has(~ tr td input[type=checkbox]:not(:checked)) { +table.list tr:nth-child(n+12):has(~ tr th input[type=checkbox]:not(:checked)) { display: none; } -table.list tr:nth-child(n+12) ~ tr:has(td input[type=checkbox]) { +table.list tr:nth-child(n+12) ~ tr:has(th input[type=checkbox]) { display: table-row; } -table.list tr:has(td input[type=checkbox]) { +table.list tr:has(th input[type=checkbox]) { display: none; } </style> @@ -298,7 +298,7 @@ static void ls_head(void) static void ls_tail(struct tree *tree, struct pathspec *paths) { - html("<tr><td colspan=\"4\"><input type=\"checkbox\" id=\"show-all\"><label for=\"show-all\">Show All</label></td></tr>"); + html("<tr class=\"nohover\"><th class=\"left\" colspan=\"4\"><input type=\"checkbox\" id=\"show-all\"><label for=\"show-all\">Show All</label></th></tr>"); html("</table>\n"); if (tree) cgit_print_repo_readme_no_layout(tree, paths); |
