Ask coding questions

← Back to all posts
Words not going to the next line
VulcanWM

When I go to the solve ax + b = c page on a small device, the code seems to step out of the code box and I have to scroll to see the rest of it, and it just looks weird. (picture below)

Is it there any way I can make it go into the next line instead of having to scroll?
Thanks

Voters
VulcanWM
Comments
hotnewtop
ruiwenge2

use this code in js:

look at static/sticky.js in a fork of your repl: https://replit.com/@ruiwenge2/Weekly-9

VulcanWM

it doesn't work @ruiwenge2

ruiwenge2

@VulcanWM you didn't even edit sticky.js

ruiwenge2

@VulcanWM oh wait sorry I misunderstood

I thought you wanted to scroll down to the bottom of the page

VulcanWM

no i want the code to go to the next line instead of looking weird lmao @ruiwenge2

ruiwenge2

@VulcanWM maybe you can use highlight.js:

put that in the body tag

VulcanWM

@ch1ck3n you normally help

ch1ck3n

@VulcanWM yes i do

VulcanWM

So can you help fix this? @ch1ck3n

ch1ck3n
VulcanWM

So how do I fix it? @ch1ck3n