[MGNLFORUM-162] Code formatting in forum is not readable for long lines Created: 22/Nov/11  Updated: 16/Mar/23  Resolved: 16/Mar/23

Status: Closed
Project: Forum (closed)
Component/s: message rendering
Affects Version/s: 4.0 ? (rewrite)
Fix Version/s: Ideas

Type: Improvement Priority: Neutral
Reporter: Natascha Desmarais Assignee: Magnolia International
Resolution: Won't Do Votes: 0
Labels: code, display, forum
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen shot 2011-11-22 at 9.13.42 AM.png    
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

The white-space: pre definition for .postContent code in extra.css causes that long lines in [code] tags are not broken unless there is a real line break.

Changing this to pre-line or pre-wrap (depending on what you want to achieve) would help for long code lines.
http://www.w3schools.com/cssref/pr_text_white-space.asp



 Comments   
Comment by Christoph Meier [ 09/Dec/13 ]

moved from 4.0 to Ideas.

Comment by Adam Jones [ 16/Mar/23 ]

Closing due to project being archived.

Generated at Mon Feb 12 02:01:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.