Thinking about it, I realise that doing exactly what the title says (instead of hiding content) is simpler and cleaner, and I think it doesn't harm visual apearance.
After committing the changes to fix this issue, I found out that the file edited (chunk/pagination.html) is not used. Instead an empty pagination.html is used.
Thinking about it, I realise that doing exactly what the title says (instead of hiding content) is simpler and cleaner, and I think it doesn't harm visual apearance.