Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #26 from ednapiranha/bug690530
Browse files Browse the repository at this point in the history
changed from img to button; fix bug 690530
  • Loading branch information
davedash committed Oct 7, 2011
2 parents d93f98b + 5ebd5f5 commit 17e4260
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion media/css/mozilla-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,13 @@ body {
}

#quick-search-btn {
left: -16px;
background: url(../img/mozilla/search-submit.png) 2px 50% no-repeat;
left: -18px;
width: 42px;
height: 23px;
border: 0px;
font-size: 1px;
text-indent: -9999px;
position: relative;
vertical-align: middle;
z-index: 1;
Expand Down
3 changes: 1 addition & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ <h1><a href="{{ url('home') }}">{{ _('Mozillians') }}</a></h1>
method="GET">
<input type="search" id="q" name="q"
placeholder="{{ _('Name, IRC Nick, or Email') }}">
<input type="image" alt="{{ _('Search') }}" id="quick-search-btn"
src="{{ MEDIA_URL }}img/mozilla/search-submit.png">
<button alt="{{ _('Search') }}" type="submit" id="quick-search-btn">{{ _('Search') }}</button>
</form>
{% endblock %}
{% endif %}
Expand Down

0 comments on commit 17e4260

Please sign in to comment.