From 111dec6853f9938ac0efd05e9a1cb44fe0fdad66 Mon Sep 17 00:00:00 2001 From: Aaron Lidman Date: Thu, 14 Nov 2013 12:40:50 -0800 Subject: [PATCH 1/1] Fixed border consistency --- app/assets/javascripts/index/new_note.js.erb | 1 - app/assets/stylesheets/common.css.scss | 12 ++++++++---- app/views/browse/note.html.erb | 1 - 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/index/new_note.js.erb b/app/assets/javascripts/index/new_note.js.erb index 95e38b2d3..780bccbca 100644 --- a/app/assets/javascripts/index/new_note.js.erb +++ b/app/assets/javascripts/index/new_note.js.erb @@ -123,7 +123,6 @@ OSM.NewNote = function(map) { }); newNote.on("dragstart dragend", function(a) { - console.log(a); newHalo(newNote.getLatLng(), a.type); }); diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 5842109b8..f88e0d1d2 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -998,7 +998,7 @@ header .search_form { #sidebar .changesets { li { padding: $lineheight; - border-bottom: $keyline; + border-bottom: 1px solid #ddd; cursor: pointer; &.selected { background: #FFFFE6; } @@ -1018,13 +1018,17 @@ header .search_form { #sidebar_content { .browse-section { padding: $lineheight/2 $lineheight; - border-bottom: 1px solid #ccc; + border-bottom: 1px solid #ddd; h4:first-child { margin-top: 0; } } + :last-child { + border-bottom: none; + } + .paginate { float: right; padding: 1px 6px; @@ -1105,8 +1109,8 @@ header .search_form { } } - .note-description p { - margin-left: 10px; + .note-description { + margin: 0 0 10px 10px; } } diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index d35ac8419..90d34b574 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -12,7 +12,6 @@
-
<%= note_event('open', @note.created_at, @note.author) %> <% if @note.status == "closed" %>
-- 2.43.2