[Minecraft1.19.2 - FABRIC 0.14.14]
After several attempts to try to determine the cause of the alignment problem of the icons on the village quest interface, I finally found this: the icons are properly aligned ONLY if the "type" field in the JSON file of a quest remains empty or is filled with an unrecognized type AND if at least one quest with this condition is first in the list of quests offered.
If the list of quests only offers quests without a predefined type then no icons will be displayed.
I tested several iterations of JSON files to finally understand it. Screenshots in support:
[Minecraft1.19.2 - FABRIC 0.14.14] After several attempts to try to determine the cause of the alignment problem of the icons on the village quest interface, I finally found this: the icons are properly aligned ONLY if the "type" field in the JSON file of a quest remains empty or is filled with an unrecognized type AND if at least one quest with this condition is first in the list of quests offered. If the list of quests only offers quests without a predefined type then no icons will be displayed. I tested several iterations of JSON files to finally understand it. Screenshots in support:
Here is also my test datapack in case. villagerquests_datapack_test.zip
Hoping to have helped and that it will allow you to fix it.