Trying to fix the weird CSS issue in generated calendar