From: Petr Baudis Date: Thu, 17 May 2007 02:24:19 +0000 (+0200) Subject: gitweb: Normalize searchbar font size X-Git-Tag: v1.5.2~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d77b5673e90f47309d6bf87a7653896169945da0;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 66f306705..260d79bd7 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -1903,6 +1903,8 @@ EOF } print "\n"; } + print "\n"; + my ($have_search) = gitweb_check_feature('search'); if ((defined $project) && ($have_search)) { if (!defined $searchtext) { @@ -1932,7 +1934,6 @@ EOF "" . $cgi->end_form() . "\n"; } - print "\n"; } sub git_footer_html {