Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Keep listing dates on one line
A date in a listing that is not a relative age is a time element with
no age class, so it missed the nowrap the ages get. Wherever a listing
ran short of room the date split at its hyphen, 2026- over 02-13, and
doubled every row. That happened on phones in every engine, and at
768px in Chromium and WebKit.
| -rw-r--r-- | assets/cgit.css | 3 |
1 file changed, 2 insertions, 1 deletion
diff --git a/assets/cgit.css b/assets/cgit.css index ffbc902..816f763 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -428,7 +428,8 @@ div#cgit time.age-hours, div#cgit time.age-days, div#cgit time.age-weeks, div#cgit time.age-months, -div#cgit time.age-years { +div#cgit time.age-years, +div#cgit table.list time { white-space: nowrap; } |
