From e0b9d3e9575da326bcfa2c0722df543b78d51841 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 14 Sep 2025 16:42:07 -0700 Subject: [PATCH] Improve styling --- usr/share/gitweb/static/custom.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 { -- 2.47.3