you can get the viewport height using custom JS

just make sure to save it to a state on page load instead of dynamically referencing it - the dynamic reference can be glitchy if the page rerenders (the height changes)