backdrop-ops / forum.backdropcms.org

The Forum for BackdropCMS.org.
https://forum.backdropcms.org/
4 stars 10 forks source link

Code snippets are going off the page #60

Closed stpaultim closed 4 years ago

stpaultim commented 6 years ago

I saw two topics today with code snippets that spread off the page like this.

isue_with_update_1-9-5___backdrop_forum

docwilmot commented 6 years ago

<pre> tags dont wrap normally. We would need to add a overflow: auto to them like GitHub and others do.

The overflow property specifies what should happen if content overflows an element's box. auto | If overflow is clipped, a scroll-bar should be added to see the rest of the content. 
jenlampton commented 6 years ago

I've got a fix for this, coming today!

jenlampton commented 6 years ago

Fixed: https://forum.backdropcms.org/forum-topic/issue-update-1-9-5

stpaultim commented 4 years ago

I am reopening this issue. See:

https://forum.backdropcms.org/forum/sqlstatehy000-general-error-1364-field-itemid

SQLSTATE_HY000___General_error__1364_Field__item_id____Backdrop_Forum

serundeputy commented 4 years ago

@stpaultim In this case https://github.com/backdrop-ops/forum.backdropcms.org/issues/60#issuecomment-552246708 it is a content issue.

The sql error is not in a <code> block just a <p>.

Not sure if we should close this ... but there is no code issue to act on.

jenlampton commented 4 years ago

I added a codeblock around the error on that page. Closing.

stpaultim commented 4 years ago

Shouldn't there be something to prevent this from happening to a block of text using

. But, I agree that is another issue and should be it's own ticket.