Changed tab styles to use the grid

With this PR, it will be possible to use grids in the groups.