Fixed border consistency

This commit is contained in:
Aaron Lidman 2013-11-14 12:40:50 -08:00
parent c9600ea323
commit 111dec6853
3 changed files with 8 additions and 6 deletions

View file

@ -123,7 +123,6 @@ OSM.NewNote = function(map) {
}); });
newNote.on("dragstart dragend", function(a) { newNote.on("dragstart dragend", function(a) {
console.log(a);
newHalo(newNote.getLatLng(), a.type); newHalo(newNote.getLatLng(), a.type);
}); });

View file

@ -998,7 +998,7 @@ header .search_form {
#sidebar .changesets { #sidebar .changesets {
li { li {
padding: $lineheight; padding: $lineheight;
border-bottom: $keyline; border-bottom: 1px solid #ddd;
cursor: pointer; cursor: pointer;
&.selected { background: #FFFFE6; } &.selected { background: #FFFFE6; }
@ -1018,13 +1018,17 @@ header .search_form {
#sidebar_content { #sidebar_content {
.browse-section { .browse-section {
padding: $lineheight/2 $lineheight; padding: $lineheight/2 $lineheight;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ddd;
h4:first-child { h4:first-child {
margin-top: 0; margin-top: 0;
} }
} }
:last-child {
border-bottom: none;
}
.paginate { .paginate {
float: right; float: right;
padding: 1px 6px; padding: 1px 6px;
@ -1105,8 +1109,8 @@ header .search_form {
} }
} }
.note-description p { .note-description {
margin-left: 10px; margin: 0 0 10px 10px;
} }
} }

View file

@ -12,7 +12,6 @@
</div> </div>
<div class="details" data-coordinates="<%= number_with_delimiter(@note.lat) %>,<%=number_with_delimiter(@note.lon) %>" data-status="<%= @note.status %>"> <div class="details" data-coordinates="<%= number_with_delimiter(@note.lat) %>,<%=number_with_delimiter(@note.lon) %>" data-status="<%= @note.status %>">
<br/>
<%= note_event('open', @note.created_at, @note.author) %> <%= note_event('open', @note.created_at, @note.author) %>
<% if @note.status == "closed" %> <% if @note.status == "closed" %>
<br/> <br/>