# 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:** 4

<div class="post-metadata">

**Author:** ![simonmic](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonmic/32/367698_2.png) [@simonmic](https://meta.discourse.org/u/simonmic)\
**Post date:** [April 1, 2024, 9:27pm UTC](https://meta.discourse.org/t/rising-scroll-threshold-in-code-blocks-or-complete-unfolding/34260/4 "2024-04-01T21:27:35Z")

</div>

Or - scattershot, but working so far:

```plaintext
pre code {max-height:none;}
pre {max-height:none;}

```

My outer pre has a max height of 2000px, so needed adjusting also.

---

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