Fix/truncated texts

https://www.openproject.org/work_packages/13498

I haven't fixed all of the things in the ticket. Only those on the work packages index and details views. I think there are more important things to do right now but I think it's still worth merging these.