[openstreetmap/openstreetmap-website] There should be space between paragraphs in changeset comment display (#2022)
Tom Hughes
notifications at github.com
Tue Oct 9 14:04:34 UTC 2018
Changeset comments are really intended for brief comments, not essays.
Rendering the amount of text that has been added as comments to that changeset in a sane way would really require a full screen view rather than the current sidebar based solution I fear.
This is also why changeset comments are put through the text renderer, and don't support markup, because trying to render them in a narrow sidebar column wouldn't really work with richer text formatting.
The text renderer is just using the rails `simple_format` routine which does create paragraphs where there is a blank line, so that is working. We could style the paragraphs to add more whitespace but that would just make an already insanely long sidebar even longer!
--
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/issues/2022#issuecomment-428204902
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181009/de5d7c75/attachment.html>
More information about the rails-dev
mailing list