Recently, I added a div to my website to contain the text within a set width. Additionally, I've integrated CKEditor5 and am utilizing its CodeSnippet plugin. An issue arises when there is excessive code on a single line, causing it to display in a scrollable box (which is the desired behavior). However, this scrolling effect does not apply to the background, resulting in an unreadable appearance as shown in the image below.
Since I am relatively new to web development, I am unsure where to begin addressing this issue. Do I need to modify the HTML or make adjustments within CKEditor?
https://i.sstatic.net/qLCrF.png
Thank you,