Archived topic
Code blocks - text doesn't wrap
3 replies · Started by Anne on May 6, 2020
Viewing posts 1–4 of 4
Hi,
Since I moved to GP for my theme (super happy with it!) the text in my code blocks doesn't wrap anymore. See screenshot here.
How can I fix this? I don't need it to look fancy, just to be readable and wrap in the block.
Thank you!
Hi there,
Give this a shot:
https://css-tricks.com/snippets/css/make-pre-text-wrap/
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
It worked, thank you!
No problem :)
This archived topic is closed to new replies.