From: Aaron Lidman Date: Thu, 14 Nov 2013 20:40:50 +0000 (-0800) Subject: Fixed border consistency X-Git-Tag: live~4661^2~68 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/111dec6853f9938ac0efd05e9a1cb44fe0fdad66?ds=sidebyside Fixed border consistency --- 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" %>