Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background color m-p-w-e overwrites background color monthview-current #619

Open
JanDa-ma opened this issue Jul 8, 2021 · 1 comment
Open

Comments

@JanDa-ma
Copy link

JanDa-ma commented Jul 8, 2021

I'm trying to change the background color of the monthview-primary-with-event. When I change this, the monthview-current gets the same colour as the primary-with-event. So there is an override issue.

This is what I have:

.monthview-current {
  background-color: lightblue !important;
}
.monthview-primary-with-event {
  background-color: red !important;
  text-decoration: underline;
}
@twinssbc
Copy link
Owner

@JanDa-ma According to the CSS precedence, the rule declared later wins. You could move the monthview-current after monthview-primary-with-event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants