Disable vertical scrolling on a YAML dashboard?

I have a custom YAML dashboard for a tablet kiosk:

The problem I am having is that you can accidentally vertically scroll this dashboard, which shifts the dashboard off the top of the screen:

Is there an easy way to completely disable vertical scrolling?

You have two options:

  1. put less cards in the view, so it does not extend off the screen. Or

  2. change the app/web browser zoom level. I use 85% on my tablet. There’s a setting for this somewhere in the app.

It doesn’t work when zooming out and I would like a solution if possible