inherit
239585
0
Mar 11, 2024 5:03:06 GMT -8
lauraloulou
2
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
Sept 28, 2022 13:12:14 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,835
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; }
|
|