summaryrefslogtreecommitdiffstats
path: root/gitweb/static/gitweb.css
diff options
context:
space:
mode:
authorRito Rhymes <rito@ritovision.com>2026-02-16 15:53:31 +0000
committerJunio C Hamano <gitster@pobox.com>2026-02-17 11:49:13 -0800
commitf4e63fd83e5b33f0113cb7e2231d013c515f0a8b (patch)
tree7307c4fc09ec7da80bb2187415be03a4b7c94f18 /gitweb/static/gitweb.css
parent34108d7fa3b91ca52f9f99f646c0f1ba4111d357 (diff)
downloadgit-f4e63fd83e5b33f0113cb7e2231d013c515f0a8b.tar.gz
git-f4e63fd83e5b33f0113cb7e2231d013c515f0a8b.zip
gitweb: let page header grow on mobile for long wrapped project names
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>
Diffstat (limited to 'gitweb/static/gitweb.css')
-rw-r--r--gitweb/static/gitweb.css2
1 files changed, 1 insertions, 1 deletions
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;