From 6fcaa0e53c955c2c1057313a9939ca158c706194 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 8 Aug 2023 18:43:41 +0300 Subject: [PATCH] Update diary edit form styling --- app/assets/stylesheets/common.scss | 1 - app/views/diary_entries/_form.html.erb | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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" %> -
- +
+
-- 2.39.5