Is there no way to adjust white-space pre-wrap height? It's the most annoying thing ever 😡

Reply to this note

Please Login to reply.

Discussion

I got 99 problems and they’re all CSS.

Do you mean the height of line breaks due to pre-wrap?

Yeah it’s super annoying and seems there’s no way to adjust it without line height

Text is the worst.

I think the only thing you can do is preprocess the paragraphs into

’s and control the spacing from there.

for advanced use cases you have to leverage javascript to do some math based on various factors eg height and width of containers, number of characters and lines , and so. (I mean after the init render where the real initial values are known)

😱

but usually it's better to have a little chat with gpt 😄

Our overlord

😂🤌🏻