[openstreetmap/openstreetmap-website] Resolve redaction view from going off page with no text wrap. (#1885)

Tom Hughes notifications at github.com
Mon Oct 22 10:42:25 UTC 2018


tomhughes commented on this pull request.



> @@ -2304,6 +2304,11 @@ a.button {
     font-size: 13px;
     background: #e8e8e8;
     padding: 2px 3px;
+    white-space: pre-wrap;       /* css-3 */
+    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
+    white-space: -pre-wrap;      /* Opera 4-6 */
+    white-space: -o-pre-wrap;    /* Opera 7 */

@RoyallDesigns Thanks for the offer, and you're quite right that deleting those lines is what I meant, but it's probably easier if I just merge it myself with that change.

I'd definitely encourage you to find something else to work on though - it will be more fulfilling if you can find something where you can actually make a difference rather than just executing a predetermined edit like this though.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1885#discussion_r226946569
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181022/d62d6dcf/attachment.html>


More information about the rails-dev mailing list