Skip to content

Commit

Permalink
Reenable back to search button on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJackson-Oslo committed May 23, 2024
1 parent 9514973 commit 0c7b31c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/spaces/_back_to_search_button.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="hidden md:block h-0 w-fit sticky top-2 inset-x-auto mx-auto md:right-2 md:mr-0 z-10">
<div class="h-0 w-fit sticky top-2 inset-x-auto mx-auto md:right-2 md:mr-0 z-10">
<%= link_to spaces_path,
data: {
"turbo-frame": "spaces-open-here", # This updates the spaces-open-here frame
Expand All @@ -15,7 +15,7 @@
hover:fill-white focus:fill-white
shadow-xl" do %>
<span class="inline-flex md:hidden gap-0.5 items-center py-2 pl-3 pr-4">
<%= inline_svg "search" %> Tilbake til søket
<%= inline_svg "x" %> Tilbake til søket
</span>
<span class="hidden md:inline-flex gap-0.5 items-center py-2 pl-3 pr-4">
<%= inline_svg "x" %> Lukk
Expand Down

0 comments on commit 0c7b31c

Please sign in to comment.