From f93969e772a36b54998496092b54972825a07dd8 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 14 Aug 2026 17:02:30 +0200 Subject: Fold revision metadata into a two-line row Title on the first line, date, revision and editor on the second, with the two actions as an icon grid. Four columns become two, so the table needs no mobile card treatment. --- public/stylesheets/admin.css | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 8bbf7289..6471090e 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css @@ -682,6 +682,10 @@ form.button_to svg { padding: 0.4rem 0.75rem; } +.revisions_table tbody td:first-child { + padding-left: 0.75rem; +} + .revisions_table .diff_sticky_bar td { border-bottom: 1px solid var(--hairline); } @@ -737,16 +741,6 @@ form.button_to svg { color: var(--text-muted); } -@media (min-width: 1016px) { - .revisions_table td.title { - min-width: 28rem; - } - - .revisions_table td.date { - min-width: 11rem; - } -} - #diffview del { background: var(--diff-del-bg); color: var(--diff-del-fg); @@ -893,6 +887,7 @@ form.button_to svg { .node_table .action_grid { grid-template-columns: repeat(2, auto); } .events_table .action_grid { grid-template-columns: repeat(2, auto); } .assets_table .action_grid { grid-template-columns: repeat(3, auto); } +.revisions_table .action_grid { grid-template-columns: repeat(2, auto); } /* min-height keeps a row the same height whether or not the viewer may see the lower controls. */ -- cgit v1.3