Shrink buttons on mobile

This commit is contained in:
Claudio Ortolina
2024-12-10 18:48:49 +03:00
parent 44a8650c6c
commit 31b6100687
3 changed files with 4 additions and 4 deletions
@@ -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")}