When setting the "overflow scroll able" option, I want it to only allow scrolling in the y direction and if x content overflows, a line break should occur.
I tried applying 'white-space', but it didn't work as expected.
<ul class="sidebar-menu scrollable" style="height: calc(100% - 130px);">
<li class="nav-item">
<a class="sidebar-link">
<span class="title">
<div id="desc-viewer" class="desc-viewer" style="">
<!-- markdown datas... -->
<!-- example data -->
<pre class="prettyprint linenums">
<code>
Test syntax! Test syntax! Test syntax! Test syntax! Test syntax!
</code>
</pre>
</div>
</span>
</a>
</li>
</ul>
This code is causing overflow-x to create a scrollbar.