Skip to content

Commit 8d5f2ed

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 87cfeb8 commit 8d5f2ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)