]> git.openstreetmap.org Git - rails.git/commitdiff
Fixed border consistency
authorAaron Lidman <aaronlidman@gmail.com>
Thu, 14 Nov 2013 20:40:50 +0000 (12:40 -0800)
committerAaron Lidman <aaronlidman@gmail.com>
Thu, 14 Nov 2013 20:42:02 +0000 (12:42 -0800)
app/assets/javascripts/index/new_note.js.erb
app/assets/stylesheets/common.css.scss
app/views/browse/note.html.erb

index 95e38b2d3dea4a39a064f32277d6539a8c37092c..780bccbca1958abe25bcc91badebc0095719a505 100644 (file)
@@ -123,7 +123,6 @@ OSM.NewNote = function(map) {
     });
 
     newNote.on("dragstart dragend", function(a) {
-      console.log(a);
       newHalo(newNote.getLatLng(), a.type);
     });
 
index 5842109b851dc53dbbfa532a9a752a3810740cd5..f88e0d1d2fcec35901148bab0dc590b3c6fa3e74 100644 (file)
@@ -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 {
-    margin-left: 10px;
+  .note-description {
+    margin: 0 0 10px 10px;
   }
 }
 
index d35ac84191a3efeb617df845ecc29e2effe6bc5b..90d34b5742dbbd8ea6a3c5f2e735efc132327faa 100644 (file)
@@ -12,7 +12,6 @@
   </div>
 
   <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) %>
     <% if @note.status == "closed" %>
       <br/>