You want to adjust and/or remove the max-height attribute of pre code
So in your Admin > Customize > CSS/HTML > CSS area, put
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.