Changed tab styles to use the grid

This PR makes it possible to use groups in a grid system again.