Create an overlay that has a 100% of the vertical space depending on the user's resolution

When opening an overlay that is a side sheet on a Desktop prototype there is no way to define this overlay to fit the 100% vertical space. This is very important since the overlay has a sticky bar that should be always visible but on some low-resolution laptops this is not he case.
There is no way I can design this in a flexible manner so the high-resolution and low-resolution desktop devices can have an optimal view of the design.