Tests: Re-add CSS hack to make the test pages look OK in a browser

The hack was removed in d14b90ded2f3e3845f001d15047f4a4d4fad3840.

Fixes gh-7025