3

Horizontal scroll on code boocks ( Text widget)

When I want to see code blocks from the Text widget in my cellphone, the code is trimmered by the screen size. Can you add an horizontal scroll so the code in code blocks can be visualized in any device?

1 reply

null
    • Alberto_Benavides
    • 5 yrs ago
    • Reported - view

    Hello again, I want to propose a solution for this suggestion. 

    In this case, you just need to add the property

    overflow-x: scroll;

    on the 

    <pre class="macro-codesnippet prettyprint linenums prettyprinted" style=""></pre>
    

    selector and we will have something like the image I am sharing.

Content aside

  • 3 Votes
  • 5 yrs agoLast active
  • 1Replies
  • 64Views
  • 3 Following