limits padding to work_packages show/update

It was introduced to prevent long work package names from overlapping the menu. The problem seems to only exist there

https://www.openproject.org/work_packages/8457