Padding related resources links, fixes #5288