Skip to content

Commit 3b8cf5e

Browse files
committed
Handle gap between form buttons and page buttons more correctly and responsively
1 parent 93c5c43 commit 3b8cf5e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎app/views/entries/_form.html.erb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<hr class="mt-8 pb-8">
3636

37-
<div class="inline-block">
37+
<div class="inline-block mr-1.5 mb-2">
3838
<%= form.submit class: button_classes(type: :primary) %>
3939
</div>
4040
<% end %>

‎app/views/entries/edit.html.erb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
<%= render "form", entry: @entry %>
44

5-
<%= link_to "Back to directory", entries_path, class: ["ml-2", button_classes(type: :secondary_ghost)] %>
5+
<%= link_to "Back to directory", entries_path, class: button_classes(type: :secondary_ghost) %>

0 commit comments

Comments
 (0)