As you have not provided any source code elaborating the issue but by observing the behaviour of height, it might be a issue of screen viewport, try using height:100dvh which will dynamically adjust viewport height
height:100dvh
Hope it would help!