diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-14 17:02:30 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-14 17:02:30 +0200 |
| commit | f93969e772a36b54998496092b54972825a07dd8 (patch) | |
| tree | 74c9e87b59c641454216dbeb274b415450ba8a27 /public/stylesheets/admin.css | |
| parent | b282797767e6980ebad340e352bef4b0552c150d (diff) | |
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.
Diffstat (limited to 'public/stylesheets/admin.css')
| -rw-r--r-- | public/stylesheets/admin.css | 15 |
1 files changed, 5 insertions, 10 deletions
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 { | |||
| 682 | padding: 0.4rem 0.75rem; | 682 | padding: 0.4rem 0.75rem; |
| 683 | } | 683 | } |
| 684 | 684 | ||
| 685 | .revisions_table tbody td:first-child { | ||
| 686 | padding-left: 0.75rem; | ||
| 687 | } | ||
| 688 | |||
| 685 | .revisions_table .diff_sticky_bar td { | 689 | .revisions_table .diff_sticky_bar td { |
| 686 | border-bottom: 1px solid var(--hairline); | 690 | border-bottom: 1px solid var(--hairline); |
| 687 | } | 691 | } |
| @@ -737,16 +741,6 @@ form.button_to svg { | |||
| 737 | color: var(--text-muted); | 741 | color: var(--text-muted); |
| 738 | } | 742 | } |
| 739 | 743 | ||
| 740 | @media (min-width: 1016px) { | ||
| 741 | .revisions_table td.title { | ||
| 742 | min-width: 28rem; | ||
| 743 | } | ||
| 744 | |||
| 745 | .revisions_table td.date { | ||
| 746 | min-width: 11rem; | ||
| 747 | } | ||
| 748 | } | ||
| 749 | |||
| 750 | #diffview del { | 744 | #diffview del { |
| 751 | background: var(--diff-del-bg); | 745 | background: var(--diff-del-bg); |
| 752 | color: var(--diff-del-fg); | 746 | color: var(--diff-del-fg); |
| @@ -893,6 +887,7 @@ form.button_to svg { | |||
| 893 | .node_table .action_grid { grid-template-columns: repeat(2, auto); } | 887 | .node_table .action_grid { grid-template-columns: repeat(2, auto); } |
| 894 | .events_table .action_grid { grid-template-columns: repeat(2, auto); } | 888 | .events_table .action_grid { grid-template-columns: repeat(2, auto); } |
| 895 | .assets_table .action_grid { grid-template-columns: repeat(3, auto); } | 889 | .assets_table .action_grid { grid-template-columns: repeat(3, auto); } |
| 890 | .revisions_table .action_grid { grid-template-columns: repeat(2, auto); } | ||
| 896 | 891 | ||
| 897 | /* min-height keeps a row the same height whether or not the viewer may see | 892 | /* min-height keeps a row the same height whether or not the viewer may see |
| 898 | the lower controls. */ | 893 | the lower controls. */ |
