]> asedeno.scripts.mit.edu Git - git.git/commitdiff
gitweb: Normalize searchbar font size
authorPetr Baudis <pasky@suse.cz>
Thu, 17 May 2007 02:24:19 +0000 (04:24 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 18 May 2007 00:37:30 +0000 (17:37 -0700)
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>
gitweb/gitweb.perl

index 66f306705f083da30a4629dc16f3aad604d4db51..260d79bd781db4a5c0cc19375cafaa53739ba873 100755 (executable)
@@ -1903,6 +1903,8 @@ EOF
                }
                print "\n";
        }
+       print "</div>\n";
+
        my ($have_search) = gitweb_check_feature('search');
        if ((defined $project) && ($have_search)) {
                if (!defined $searchtext) {
@@ -1932,7 +1934,6 @@ EOF
                      "</div>" .
                      $cgi->end_form() . "\n";
        }
-       print "</div>\n";
 }
 
 sub git_footer_html {