From: Tom Hughes Date: Fri, 12 Apr 2024 17:01:35 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/4685' X-Git-Tag: live~184 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/de18a0fe023304cd4f7b588c6b6b03e579895957?hp=10ad7688f8477958d9d6758506c18a3c620f0bd3 Merge remote-tracking branch 'upstream/pull/4685' --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 1ccdc7871..42046c0a6 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -815,10 +815,6 @@ tr.turn:hover { } .search_form { - #query { - z-index: 0; - } - .describe_location { font-size: 10px; } diff --git a/app/views/layouts/_search.html.erb b/app/views/layouts/_search.html.erb index c7939aa01..5d612dd78 100644 --- a/app/views/layouts/_search.html.erb +++ b/app/views/layouts/_search.html.erb @@ -3,7 +3,7 @@
- <%= text_field_tag "query", params[:query], :placeholder => t("site.search.search"), :autofocus => autofocus, :autocomplete => "on", :class => "form-control form-control-sm", :dir => "auto" %> + <%= text_field_tag "query", params[:query], :placeholder => t("site.search.search"), :autofocus => autofocus, :autocomplete => "on", :class => "form-control form-control-sm z-0", :dir => "auto" %>
<%= button_tag t("site.search.where_am_i"), :type => "button", :class => "describe_location position-absolute end-0 me-1 btn btn-sm btn-outline-primary border-0 bg-transparent", :title => t("site.search.where_am_i_title") %>