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 ".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" %>