[zss.test] adjust height to avoid exceeding a page's height