Skip to content

Commit

Permalink
Adjust field styles in ui/forms/address component
Browse files Browse the repository at this point in the history
Modify the style definitions for city and zipcode fields to ensure
consistent height alignment with other fields in the form.
  • Loading branch information
rainerdema committed Nov 3, 2023
1 parent 257855e commit de15a9d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<%= render component("ui/forms/field").text_field(@form, :name) %>
<%= render component("ui/forms/field").text_field(@form, :address1) %>
<%= render component("ui/forms/field").text_field(@form, :address2) %>
<div class="flex w-full space-x-4">
<%= render component("ui/forms/field").text_field(@form, :city, class: "flex-1") %>
<%= render component("ui/forms/field").text_field(@form, :zipcode, class: "flex-1") %>
<div class="flex gap-4 w-full">
<%= render component("ui/forms/field").text_field(@form, :city) %>
<%= render component("ui/forms/field").text_field(@form, :zipcode) %>
</div>

<%= render component("ui/forms/field").select(
Expand Down

0 comments on commit de15a9d

Please sign in to comment.