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

Christopher Bazin notifications at github.com
Tue May 29 04:14:42 UTC 2018


This resolves issue #1845 

Added css to address \<pre\> tags and word wrap. Also noticed that
the output was surrounded by paragraph tags where the style should
have been applied to the \<div\> tag instead of a \<p\> tag, like the rest of the views.

Tested in development without any problems. Please see image below. I also check message view and all are OK and wrapped in a \<div\> tag.

![screen shot 2018-05-28 at 9 10 39 pm](https://user-images.githubusercontent.com/24664863/40637754-dcd9aa96-62bb-11e8-805b-007ac22febd9.png)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/1885

-- Commit Summary --

  * Resolve redaction view from going off page with no text wrap.

-- File Changes --

    M app/assets/stylesheets/common.scss (5)
    M app/views/redactions/show.html.erb (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1885.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1885.diff

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180528/2caf5eca/attachment.html>


More information about the rails-dev mailing list