Fixes for wp attributes layout with long values [fixup]

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