Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Make the breakpoints hide and restack, not resize
On a phone the tree listing keeps name and size, the diff and stat
option panels hide, the owner line leaves the stacked masthead, and the
search, switcher and authors wait until they fit.
Diffstat (limited to 'source')
| -rw-r--r-- | source/ui-tree.c | 6 |
1 file changed, 3 insertions, 3 deletions
diff --git a/source/ui-tree.c b/source/ui-tree.c index 0054b0c..21b9547 100644 --- a/source/ui-tree.c +++ b/source/ui-tree.c @@ -332,7 +332,7 @@ static void print_ls_row(const struct object_id *oid, const char *pathname, } htmlf("</td><td class='ls-size'>%lu</td>", size); - html("<td>"); + html("<td class='ls-links'>"); cgit_log_link("log", NULL, "button", ctx.qry.head, walk->rev, fullpath.buf, 0, NULL, NULL, ctx.qry.showmsg, 0); @@ -405,10 +405,10 @@ static void ls_head(void) cgit_print_layout_start(); html("<table summary='tree listing' class='list'>\n"); html("<tr class='nohover'>"); - html("<th class='left'>Mode</th>"); + html("<th class='left ls-mode'>Mode</th>"); html("<th class='left'>Name</th>"); html("<th class='right'>Size</th>"); - html("<th/>"); + html("<th class='ls-links'/>"); html("</tr>\n"); } |
