The bug
When adding a lot of data packs to a world, the text overlaps the buttons.
Example
Here is an example from xisumavoid:
[media]Linked issues
is duplicated by 2
Attachments
Comments 2


Indeed, the screen adjusts better since 1.17.1 (tested). So the bug is no longer really a problem.
I can no longer reproduce this in 1.17.1 (except with extreme window sizes + GUI Scale 4)