]> 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 56c4515d02a17b608b2f4eac86595c71443b8eb5..a16f7d85a56d4c13b8422c05034745753ab42f5c 100644 (file)
@@ -1324,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; }
   }
@@ -2314,6 +2314,7 @@ a.button {
     font-size: 13px;
     background: #e8e8e8;
     padding: 2px 3px;
+    white-space: pre-wrap;
 
     code {
       padding: 0;