14596 Fixes for wp attributes layout with long values [fixup 2]

https://www.openproject.org/work_packages/14596
https://www.openproject.org/work_packages/16341