]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Display formatted notes in the web UI
[rails.git] / app / assets / stylesheets / common.css.scss
index 4c7012f2caa2204e946743fdbc998d32e68c5088..5174e475d5e8063995ef7b5b13a481e34d49d6e3 100644 (file)
@@ -835,19 +835,24 @@ table.browse_details th {
 
 td.browse_comments {
   padding: 0px;
-}
 
-td.browse_comments table {
-  border-collapse: collapse;
-}
+  table {
+    border-collapse: collapse;
 
-td.browse_comments table td {
-  padding-bottom: 10px;
-}
+    td {
+      padding-bottom: 10px;
 
-td.browse_comments table td span.by {
-  font-size: small;
-  color: #999999;
+      p {
+        margin-top: 0px;
+        margin-bottom: 0px;
+      }
+
+      span.by {
+        font-size: small;
+        color: #999999;
+      }
+    }
+  }
 }
 
 #browse_map {
@@ -1423,7 +1428,19 @@ abbr.geo {
 
 /* Rules for the notes interface */
 
-.note .buttons {
-  margin-top: 5px;
-  text-align: right;
+.note {
+  .comment_body {
+    margin-top: 4px;
+    margin-bottom: 4px;
+
+    p {
+      margin-top: 0px;
+      margin-bottom: 0px;
+    }
+  }
+
+  .buttons {
+    margin-top: 5px;
+    text-align: right;
+  }
 }