Click in the table
Then click the Layout tab under Table Tools
Then click the AutoFit button in the Cell Size group
Then click AutoFit to Contents or AutoFit to Window.