inherit
239585
0
Apr 25, 2024 17:39:53 GMT -8
lauraloulou
6
November 2016
lauraloulou
|
Post by lauraloulou on Dec 25, 2021 19:49:08 GMT -8
Hey there! I'm attempting to use the Code tag [c o d e][/c o d e] but when I insert the information into the code tag it automatically makes a hortizontal scroll bar across the bottom of the post instead of continuing to the next line of text. I'm not quite sure how to fix this. Image below:
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,870
December 2005
horace
|
Post by Chris on Dec 25, 2021 20:32:07 GMT -8
One fix for that is to add a style of "white-space:pre-wrap" to the tag either as an inline style when creating the post:
[code style="white-space:pre-wrap"]__CODE__[/code]
or more globally as a CSS rule within your theme's stylesheet:
.posts .post .message code { white-space:pre-wrap; }
|
|