Commit acbbaf7480

acbbaf74807dd9458dbfcdb517ec3e02b9064315

parent: 81272b0b80

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-18 01:18 UTC

web: tree table truncates the last commit under automatic layout

Ref #218

Layout: unified · split

internal/web/static/style.css +1 −1
@@ -780,7 +780,6 @@ table.tree, table.refs {
780 overflow: hidden; 780 overflow: hidden;
781 margin-bottom: var(--sp-4); 781 margin-bottom: var(--sp-4);
782} 782}
783table.tree { table-layout: fixed; }
784table.tree tr:last-child td, table.refs tr:last-child td { border-bottom: 0; } 783table.tree tr:last-child td, table.refs tr:last-child td { border-bottom: 0; }
785table.tree tr:hover td, table.refs tr:hover td { background: var(--hover); } 784table.tree tr:hover td, table.refs tr:hover td { background: var(--hover); }
786td.name a { color: var(--fg); } 785td.name a { color: var(--fg); }
@@ -789,6 +788,7 @@ table.tree td.name { width: 25%; white-space: nowrap; }
789table.tree td.name.dir a { color: var(--link); } 788table.tree td.name.dir a { color: var(--link); }
790table.tree th.lastcommit, table.tree td.lastcommit { width: 55%; } 789table.tree th.lastcommit, table.tree td.lastcommit { width: 55%; }
791table.tree td.lastcommit { 790table.tree td.lastcommit {
791 max-width: 0;
792 overflow: hidden; text-overflow: ellipsis; white-space: nowrap; 792 overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
793} 793}
794table.tree td.lastcommit a { 794table.tree td.lastcommit a {