Fix calendar layout in the material themes