]> git.ipfire.org Git - thirdparty/git.git/commitdiff
gitweb: let page header grow on mobile for long wrapped project names
authorRito Rhymes <rito@ritovision.com>
Mon, 16 Feb 2026 15:53:31 +0000 (15:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Feb 2026 19:49:13 +0000 (11:49 -0800)
On mobile, long project names in the page header can wrap to multiple lines,
but the fixed 25px header height does not grow with wrapped content.

Switch the header from fixed height to min-height so it expands as needed
while keeping the same baseline height for single-line titles.

Signed-off-by: Rito Rhymes <rito@ritovision.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/static/gitweb.css

index 824764606333a0bac0606b4d3bde6dc4d846683c..e2e6dd96a2c9155d1c1370083f51813e859ef10c 100644 (file)
@@ -42,7 +42,7 @@ a.list img.avatar {
 }
 
 div.page_header {
-       height: 25px;
+       min-height: 25px;
        padding: 8px;
        font-size: 150%;
        font-weight: bold;