From: Tom Hughes Date: Fri, 8 Sep 2023 16:55:54 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/4236' X-Git-Tag: live~1626 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/614a4c128472c7547df81fc135ff05beca063f2f?hp=65cb7d7b2d745ed10eaa5248dcd0e5bb834c2556 Merge remote-tracking branch 'upstream/pull/4236' --- diff --git a/app/views/diary_entries/_form.html.erb b/app/views/diary_entries/_form.html.erb index bfb1c1823..0b38e3ea6 100644 --- a/app/views/diary_entries/_form.html.erb +++ b/app/views/diary_entries/_form.html.erb @@ -8,8 +8,8 @@ <%= tag.div "", :id => "map", :class => "border border-grey rounded mb-3", :data => { :lat => @lat, :lon => @lon, :zoom => @zoom } %>
- <%= f.text_field :latitude, :wrapper_class => "col-sm-4", :id => "latitude" %> - <%= f.text_field :longitude, :wrapper_class => "col-sm-4", :id => "longitude" %> + <%= f.text_field :latitude, :wrapper_class => "col-sm-4 d-flex flex-column", :class => "mt-auto", :id => "latitude" %> + <%= f.text_field :longitude, :wrapper_class => "col-sm-4 d-flex flex-column", :class => "mt-auto", :id => "longitude" %>
diff --git a/app/views/profiles/edit.html.erb b/app/views/profiles/edit.html.erb index bf53832c8..b207e72e2 100644 --- a/app/views/profiles/edit.html.erb +++ b/app/views/profiles/edit.html.erb @@ -44,8 +44,8 @@ <%= t ".home location" -%>

<%= t ".no home location" %>

- <%= f.text_field :home_lat, :wrapper_class => "col-sm-4", :id => "home_lat" %> - <%= f.text_field :home_lon, :wrapper_class => "col-sm-4", :id => "home_lon" %> + <%= f.text_field :home_lat, :wrapper_class => "col-sm-4 d-flex flex-column", :class => "mt-auto", :id => "home_lat" %> + <%= f.text_field :home_lon, :wrapper_class => "col-sm-4 d-flex flex-column", :class => "mt-auto", :id => "home_lon" %>