Forums
Home / Plugin: Code Block Pro - Beautiful Syntax Highlighting / hide scroll bar
(@muktaweb)
3 months ago
Thank you for an amazing Plugin.
I do not want scroll bar at the below, I want to show my entire code in one page. by line warping.
The page I need help with: [log in to see the link]
(@kbat82)
Hey, right now there is no built in solution, but are you comfortable adding some CSS? Can you see this issue here where another user provided a solution? https://github.com/KevinBatdorf/code-block-pro/issues/250#issuecomment-2302015099
Here’s the snippet though:
div[class*='code-block-pro']:not(.x) pre span.line { white-space: pre-wrap;}