From: Ardis Lu Date: Sun, 14 Sep 2025 23:42:07 +0000 (-0700) Subject: Improve styling X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=e0b9d3e9575da326bcfa2c0722df543b78d51841;p=git.ardis.lu Improve styling --- diff --git a/usr/share/gitweb/static/custom.css b/usr/share/gitweb/static/custom.css index 3f2b979..814c422 100644 --- a/usr/share/gitweb/static/custom.css +++ b/usr/share/gitweb/static/custom.css @@ -50,12 +50,22 @@ table.project_list { /* Gitweb replaces all spaces in commit descriptions (log) with   which will not wrap by default. */ div.log, div.log_body, -div.page_body { +div.page_body, +div.readme { overflow-wrap: break-word; /* Otherwise body will stretch to fit longest line. */ max-inline-size: min(100dvi - 38px, 1440px); } +div.title_text { + display: flex; + align-items: center; +} + +div.log_link { + width: unset; +} + div.log_body { padding: 8px; } @@ -65,6 +75,10 @@ td.selflink { font-size: 80%; } +td.selflink { + width: 0; +} + td.pre, div.pre, div.diff {