Upstreaming from https://phabricator.wikimedia.org/T255859
Steps to reproduce:
- PHP 8.2.8, Phorge at 309d9b853a699944a7d7b78e365e264b5b666094
- Go to http://phorge.localhost/project/edit/form/default/ and create a project with the name LongWorkBoardColumnNames
- Create a new empty workboard for that project at http://phorge.localhost/project/board/14/
- Add a bunch of tasks to that project/column so that you have to scroll the column to see the tasks at the bottom
- In the column header of the "Backlog" column, select the button and select
- Set the column Name to This is a longer column name so the name in the header will cover multiple lines and select Save Column
- On the workboard, scroll down to the bottom of the column
Expected behavior:
Last task card in column can be read and is fully displayed, like with a one-line column header:
Actual behavior:
- Last task card cannot be fully read, additional whitespace displayed at the bottom below the column end
- .phui-workpanel-body-content hardcodes max-height: calc(100vh - 162px) thus ignores a not-one-line-only height of the column header