Is it possible to have a floating footer that ONLY floats if all page content is on-screen?

I’d appreciate any suggestions for a way to make a floating group act “conditionally”. I have a page built on a taller-than-average monitor, so I need a floating group footer to keep it anchored at the bottom.

However, that causes issues on smaller screens because page content is “covered up” by the floating footer on scroll.

Is it possible in Bubble to force this to the bottom of the content based on screen size?

I believe this is similar to another post but with more of an emphasis on “conditional” behavior rather than simply sticking the footer to the bottom.