On mobile device,when the screen width is narrow,the code area become scrollable.When we set the background to dark,for example we set the code theme to "arta",if we scroll the code area the the right side is still in white background. I have made a patch to fix this problem.

| Comment | File | Size | Author |
|---|---|---|---|
| #3 | black_ground_2914784_1.patch | 350 bytes | brucelee1985 |
| 2017-10-09 07:58:38屏幕截图.png | 18.03 KB | brucelee1985 |
Comments
Comment #2
brucelee1985 commentedComment #3
brucelee1985 commentedComment #4
kevinquillen commentedCould you explain this part to me?
$(this)[0].scrollWidth-15What is '15' in this case?
Comment #5
brucelee1985 commented$(this)[0].scrollWidth contains scrollbar width,if we do not minus 15px ,then even on desktop ,the code area will have a horizonal bar
Comment #6
mortona2k commentedMuch needed patch for this module, thanks!
Comment #7
sandeshyadav commentedPatch for the version 8.x-1.6 available here.
Comment #8
jcnventuraJust tested this solution, and it doesn't seem to solve the issue really.
At least, not as well as #3119536: Background color not showing for scrollable content.