Altered CSS to be smarter and expand depending on the number of rows/columns.