gitweb: Normalize searchbar font size
Currently, searchbar font was as big as the page heading font, because font-size was made relative - but to the parent element, which was for some reason indeed page_header. Since that seems to be illogical to me, I just moved the div.search outside of div.page_header. I'm no CSS/DOM expert but no adverse effects were observed by me. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Petr Baudis committed
May 17, 2007 at 04:24 UTC
d77b5673e90f47309d6bf87a7653896169945da0
1 file changed
+2
-1
gitweb/gitweb.perl
+2
-1
@@ -1903,6 +1903,8 @@ EOF
1903
}
1904
print "\n";
1905
}
1906
+ print "</div>\n";
1907
+
1908
my ($have_search) = gitweb_check_feature('search');
1909
if ((defined $project) && ($have_search)) {
1910
if (!defined $searchtext) {
@@ -1932,7 +1934,6 @@ EOF
1934
"</div>" .
1935
$cgi->end_form() . "\n";
1936
}
1935
- print "</div>\n";
1937
}
1938
1939
sub git_footer_html {