Shrink buttons on mobile
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
)} · {Records.Record.type_long_label(@record.type)}
|
||||
</p>
|
||||
<!-- TODO: extract to a component -->
|
||||
<nav class="mt-5 isolate inline-flex rounded-md shadow-sm">
|
||||
<nav class="mt-3 sm:mt-5 isolate inline-flex rounded-md shadow-sm">
|
||||
<.link patch={~p"/collection/#{@record}/show/edit"} phx-click={JS.push_focus()}>
|
||||
<.button type="button" class="relative inline-flex items-center rounded-r-none">
|
||||
{gettext("Edit")}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
)} · {Records.Record.type_long_label(@record.type)}
|
||||
</p>
|
||||
<!-- TODO: extract to a component -->
|
||||
<nav class="mt-5 isolate inline-flex rounded-md shadow-sm">
|
||||
<nav class="mt-3 sm:mt-5 isolate inline-flex rounded-md shadow-sm">
|
||||
<.link patch={~p"/wishlist/#{@record}/show/edit"} phx-click={JS.push_focus()}>
|
||||
<.button type="button" class="relative inline-flex items-center rounded-r-none">
|
||||
{gettext("Edit")}
|
||||
|
||||
Reference in New Issue
Block a user