Quick fix for long PDF report titles overflowing off the header page.
Also crops the long title in the page footer (if necessary) so the page counter doesn't overflow.
@sgiehl I've improved the layout to more closely match the original and removed the title text justification.
@bx80 Seems like the PDFs are almost looking the same again. Nevertheless I guess our tests actually do not cover the reason why the changes have been made at all. Wondering if it might make sense to add an additional test case to prevent future regressions around too long report titles.
@bx80 I've pushed some adjustments for the tests, so they cover the case of a long site name as well as a long description. Feel free to have a quick look at the changes and merge the PR if they suit you.
Thanks @sgiehl, good to have the tests cover future regressions :+1: