Wordwrap for PRE-formatted text

If you use PRE-Tags and the lines are very long, the page layout ist broken.

You can change this by adding the following CSS code in the Custom CSS

pre {
	width: 100%; /* specify width */
	white-space: pre-wrap; /* CSS3 browsers */
	white-space: -moz-pre-wrap !important; /* 1999+ Mozilla */
	white-space: -pre-wrap; /* Opera 4 thru 6 */
	white-space: -o-pre-wrap; /* Opera 7 and up */
	word-wrap: break-word; /* IE 5.5+ and up */
	}

@Aigars: Is it possible to make this the default in sparkling? Thx!

Hi @schrottie,

I hope you are well today and thanks for posting here.

I have created an issue for it on Github on the following URL so that it will be added in the future version of theme.

Thanks,
Movin

Great, thanks! :slight_smile:

You are most welcome here :slight_smile: