Change padding rules for nested grids