How to set canvas height

I have the following app with control that firt nicely the screen

However, the 'canvas' is much larger and there is this annoying screll bar that allows me to scroll way down.

How do I resize that pink canvas section and reduce its height?

The issue was a hidden component in the canvas. Retool support reviewed the app and found an empty text component on the left bottom of the canvas.