]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: make search help link less ugly
authorTony Finch <redacted>
Tue, 20 Aug 2013 16:59:54 +0000 (17:59 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:32 +0000 (00:51 -0400)
The search help link was a superscript question mark right next to
a drop-down menu, which looks misaligned and is a cramped and
awkward click target. Remove the superscript tags and add some
spacing to fix these nits. Add a title attribute to provide an
explanatory mouseover.

Signed-off-by: Tony Finch <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index de76eb12dfb154d444030d1b1a8669524739d406086c2cc7d4d6fb1d5c005e10..4c8c144e5180e68f472bcd32b6f6475c2d003dca0164541b377b7201b41fe306 100755 (executable)
@@ -4036,8 +4036,8 @@ sub print_search_form {
              $cgi->input({-name=>"h", -value=>$search_hash, -type=>"hidden"}) . "\n" .
              $cgi->popup_menu(-name => 'st', -default => 'commit',
                               -values => ['commit', 'grep', 'author', 'committer', 'pickaxe']) .
-             $cgi->sup($cgi->a({-href => href(action=>"search_help")}, "?")) .
-             " search:\n",
+             " " . $cgi->a({-href => href(action=>"search_help"),
+                            -title => "search help" }, "?") . " search:\n",
              $cgi->textfield(-name => "s", -value => $searchtext, -override => 1) . "\n" .
              "<span title=\"Extended regular expression\">" .
              $cgi->checkbox(-name => 'sr', -value => 1, -label => 're',
This page took 0.223291 seconds and 4 git commands to generate.