From: Anton Khorev Date: Tue, 8 Aug 2023 15:43:41 +0000 (+0300) Subject: Update diary edit form styling X-Git-Tag: live~1611^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/6fcaa0e53c955c2c1057313a9939ca158c706194?ds=inline;hp=--cc Update diary edit form styling --- 6fcaa0e53c955c2c1057313a9939ca158c706194 diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 7b3bfde36..5b15fcc5d 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1053,7 +1053,6 @@ tr.turn:hover { #map { height: 400px; display: none; - margin-bottom: $lineheight; } .comments { max-width: 740px; diff --git a/app/views/diary_entries/_form.html.erb b/app/views/diary_entries/_form.html.erb index e07971089..bfb1c1823 100644 --- a/app/views/diary_entries/_form.html.erb +++ b/app/views/diary_entries/_form.html.erb @@ -5,13 +5,13 @@
<%= t ".location" -%> - <%= tag.div "", :id => "map", :class => "border border-grey rounded", :data => { :lat => @lat, :lon => @lon, :zoom => @zoom } %> + <%= 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" %> -
- +
+