Fix for #9195: Adjusts the table container size to prevent scrollbar