fix styling issues with inner rows expanding outside of containers