]> BookStack Code Mirror - bookstack/commitdiff
Fixed long attachment names breaking outer boxes
authorDan Brown <redacted>
Sat, 2 Sep 2017 14:21:05 +0000 (15:21 +0100)
committerDan Brown <redacted>
Sat, 2 Sep 2017 14:21:05 +0000 (15:21 +0100)
Closes #460

resources/assets/sass/_blocks.scss

index 9f502ca8fe9b166be268eda4a92bca60decb2f58..61be99fe6316b255451fc626944a389a85ecda8b 100644 (file)
   .body, p.empty-text {
     padding: $-m;
   }
+  a {
+    word-wrap: break-word;
+    word-break: break-word;
+  }
 }
 
 .card.drag-card {
   }
   > div {
     padding: 0 $-s;
+    max-width: 80%;
   }
 }