]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Enable line breaks in performatted text within rich text
[rails.git] / app / assets / stylesheets / common.scss
index 3827a368a504a18b8c8c8e55ceba5b2886b5ba76..a16f7d85a56d4c13b8422c05034745753ab42f5c 100644 (file)
@@ -1237,7 +1237,8 @@ tr.turn:hover {
     margin: $lineheight/2 0;
 
     p {
-      margin-left: 10px;
+      margin: 10px 6px 0 6px;
+      line-height: 1.5;
     }
   }
 
@@ -1323,11 +1324,11 @@ tr.turn:hover {
     #maxlat { margin-top: -1px; }
     #minlon {
       float: left;
-      margin-left: -1px;
+      /* no-r2 */ margin-left: -1px;
     }
     #maxlon {
       float: right;
-      margin-right: -1px;
+      /* no-r2 */ margin-right: -1px;
     }
     #minlat { margin-bottom: 0; }
   }
@@ -2313,6 +2314,7 @@ a.button {
     font-size: 13px;
     background: #e8e8e8;
     padding: 2px 3px;
+    white-space: pre-wrap;
 
     code {
       padding: 0;