fix: update UI of the show page

- Refactor to remove the link's padding-top.
- The navigation back button should now work as expected.
- No known side effects.
This commit is contained in:
songtianlun 2025-02-15 11:50:36 +08:00
parent b6635e5a51
commit 968efb5492

View File

@ -12,7 +12,7 @@
<div class="relative max-w-3xl mx-auto px-4 pt-4 ">
<%= link_to cities_path,
class: "inline-flex items-center btn btn-ghost gap-2 pt-6 mb-8" do %>
class: "inline-flex items-center btn btn-ghost gap-2 " do %>
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" />
</svg>