inherit
239585
0
Aug 21, 2024 12:30:16 GMT -8
lauraloulou
9
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
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
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; }
|
|