# Rising scroll threshold in code blocks (or complete unfolding)

**URL:** <https://meta.discourse.org/t/rising-scroll-threshold-in-code-blocks-or-complete-unfolding/34260>\
**Category:** UX\
**Created:** [October 8, 2015, 9:45am UTC](https://meta.discourse.org/t/rising-scroll-threshold-in-code-blocks-or-complete-unfolding/34260 "2015-10-08T09:45:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [October 8, 2015, 11:48am UTC](https://meta.discourse.org/t/rising-scroll-threshold-in-code-blocks-or-complete-unfolding/34260/2 "2015-10-08T11:48:27Z")

</div>

You want to adjust and/or remove the max-height attribute of `pre code`

So in your Admin \> Customize \> CSS/HTML \> CSS area, put

```plaintext
pre code {
  max-height: 800px;
}

```

You can change 800px to any number really, it simply implies when the code block reaches that amount of space, start showing the scrollbar.

---

_[View the full topic](https://meta.discourse.org/t/rising-scroll-threshold-in-code-blocks-or-complete-unfolding/34260)._
