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

Tom Hughes notifications at github.com
Wed May 30 07:25:00 UTC 2018


tomhughes requested changes 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 */

It shouldn't be necessary to add all those as we have https://github.com/ai/autoprefixer-rails in our build chain that should add the browser prefixed versions for you.

-- 
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#pullrequestreview-124276762
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180530/90e92b60/attachment.html>


More information about the rails-dev mailing list