Fix: rich table width calculation
rich got updated and the version wasn't pinned in requirements. They made a breaking change in one of the functions which we were using.
This patch pins the version of rich and makes the changes necessary to make it work