]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Fix display of raw HTML in flash message
[rails.git] / app / assets / stylesheets / common.scss
index 3afef70e30b82e4a110a4b8c76305cbbbd25fbcf..83ae35680fd7c3213d36e3267a0925d1a37720f1 100644 (file)
@@ -1588,10 +1588,6 @@ tr.turn:hover {
     float: left;
     display: block;
   }
-
-  ul.secondary-actions {
-    display: inline-block;
-  }
 }
 
 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
@@ -1824,6 +1820,19 @@ tr.turn:hover {
     display: inline-block;
     margin-left: $lineheight / 2;
     vertical-align: middle;
+
+    p {
+      margin-top: $lineheight * 0.5;
+      margin-bottom: $lineheight * 0.5;
+
+      &:first-child {
+        margin-top: 0px;
+      }
+
+      &:last-child {
+        margin-bottom: 0px;
+      }
+    }
   }
 }