[PATCH v2 5/5] gitweb: let page header grow on mobile for long wrapped project names
- From
Rito Rhymes via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Feb 16, 2026, 15:53 UTC
- Message-ID
- <95ded55c31ee56943327c8e321ed7b5311ffb1ac.1771257211.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.2043.v2.git.1771257211.gitgitgadget@gmail.com>
From: Rito Rhymes <rito@ritovision.com>
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> --- gitweb/static/gitweb.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index 8247646063..e2e6dd96a2 100644 --- a/gitweb/static/gitweb.css +++ b/gitweb/static/gitweb.css @@ -42,7 +42,7 @@ a.list img.avatar { } div.page_header { - height: 25px; + min-height: 25px; padding: 8px; font-size: 150%; font-weight: bold;
-- gitgitgadget