New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure redaction text does not go off of page #1845
Comments
I would like to work on this issue. I am new to open source contributions. |
I edited the redaction so it's no longer causing this particular page to go extra-wide, but the root cause should still be fixed. It's also worth checking what other markdown-using pages (diaries, messages, etc) on the site do for wide pre-formatted blocks. |
It looks like you applied some CSS and popped the code into a container. I figured that was going to be my approach. If you agree, I will take a look at the other markdown pages as you suggested. |
I didn't change any CSS, I just edited the text of the message. |
Understood. Let me look at your solution and see if it needs to be applied elsewhere. |
I didn't have a solution, I edited the markdown of the redaction. No code was changed. Other redactions with a long line in a markdown code block would have the same problem. |
@pnorman HI Paul, I am a newbie and this is a huge application, so forgive me. I am having trouble recreating the issue in my current environment. He is what I have done.
Any other hints to recreate the issue in the development environment. |
You need to give yourself the "moderator" flag and then go to |
Thank you. :) I appreciate your help.
…On Mon, May 28, 2018 at 3:05 PM, Paul Norman ***@***.***> wrote:
You need to give yourself the "moderator" flag and then go to
/redactions/new and create a new redaction. The one originally linked in
this issue used four spaces in front of a long line to format it as code.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1845 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXhbHy9iv__h97mnrLT1vshRvypQxCyIks5t3HSVgaJpZM4TwYHu>
.
|
The redaction text at https://www.openstreetmap.org/redactions/101 doesn't wrap, and so it makes the page super-wide. I don't think there's any reason to avoid wrapping here, even in pre-formatted blocks.
If there is some reason to prevent wrapping, then the block should be scrollable but the page width otherwise unaffected.
The text was updated successfully, but these errors were encountered: