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") %>