Reputation: 43
<mwl-calendar-month-view>
</mwl-calendar-month-view>
I tried to reduce it in many ways: from the .scss file, with "style" inline,via class and without... but nothing works. Please give me an idea how can I do this Thanks
This is the inspect window, I noted down here what are the lines I should remove
Upvotes: 0
Views: 1128
Reputation: 279
Welcome back :D In the documentation of this library, the developer says that not every component contains styles so that it is easier to overwrite them. Somewhere here: https://mattlewis92.github.io/angular-calendar/docs/index.html But if this is the case then you must use the word "!important" after each rule. For example:
.some-example-class {
background-color: #fff !important;
font-size: 12px !important;
}
Or try with "::ng-deep" but I'm not sure exactly how it works, something like this:
::ng-deep {
.some-example-class {
background-color: #fff;
font-size: 12px;
}
}
You can also combine "::ng-deep" and "!important".
Upvotes: 1