Stack Overflow Full Height Code

Added by Stratoscope@userstyles, Created: Aug 01, 2015, Updated: Aug 01, 2015
With the style applied


Remove the maximum height of Stack Overflow code samples, so they display in their natural height on the page. No more extra scrollbar for longer blocks of code!

More info
Stack Overflow and other Stack Exchange sites use max-height:600px to limit the height of code samples. If the code is longer than that, you not only have to scroll the page, you also have to scroll the code block separately.

This userstyle removes the max-height:600px, so code samples display in their full natural height and scroll along with the page instead having their own separate scrollbars.

You should to add comment and rate the style.


+ Create discussion

Applies to:,
CC0 1.0 Universal.
Stratoscope@userstyles has waived all copyright and related or neighboring rights to Stack Overflow Full Height Code, to the extent allowed by law.

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.