diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2026-01-29 20:30:52 +0100 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2026-01-29 20:30:52 +0100 |
| commit | f23fa40a7bee4c0f13e02c1e36c5d0e59c7de45b (patch) | |
| tree | bfbbfb65de27205d6a5bd9e21f1f01c1ca38697b /config | |
| parent | 79085bc003a39e828b4521ebf83be80b58e7907c (diff) | |
cgit: css: make tables mobile-responsive
Diffstat (limited to 'config')
| -rw-r--r-- | config/services/git/web/cgit.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/services/git/web/cgit.css b/config/services/git/web/cgit.css index 2c58c1b..8461004 100644 --- a/config/services/git/web/cgit.css +++ b/config/services/git/web/cgit.css @@ -931,6 +931,20 @@ div#cgit table.ssdiff td.space div { white-space: nowrap; } + /* TABLES */ + div#cgit table.nowrap td { + white-space: normal; + } + div#cgit table.list td { + vertical-align: top; + } + div#cgit { + span.age-mins, span.age-hours, span.age-days, span.age-weeks, span.age-months, span.age-years { + white-space: nowrap; + } + } + + /* PANEL ALIGNMENT */ div#cgit div.cgit-panel { float: left; |
