[backport] Fix flexbox layout in taskboard.