I believe it depends on which is the parent element of the class “site” and how is its height set.
If the parent element (maybe body) is set to height: 100%, you could apply to .site -> min-height: 100%
I am not an expert in this field, but I think it should work if I understood it correctly.