I was referring to Sigil's preview window, but I've had the same issue with Marvin.
Interestingly, the original code displayed properly using the 100% in Preview but not in Marvin. When I changed my code (including the <h1> tag) to use the vh/vw it displayed fine in both Preview and Marvin.
I wasn't aware that the 100% had been deprecated.
Thanks!