Skip to content

Commit 95ded55

Browse files
committed
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>
1 parent bbc94ee commit 95ded55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitweb/static/gitweb.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ a.list img.avatar {
4242
}
4343

4444
div.page_header {
45-
height: 25px;
45+
min-height: 25px;
4646
padding: 8px;
4747
font-size: 150%;
4848
font-weight: bold;

0 commit comments

Comments
 (0)