Issue
how to disable angular material typography styles after installed angular materials? It is changing my visual style and it is not easy to overwrite. I dont need it, just need to get rid of it.
Solution
Inside your index.html file, the body tag should have class="mat-typography"
, just remove this class and your styles shouldn't be overwritten anymore. You should also check if your Angular Material theme doesn't contain any custom typography like it's shown in Typography guide (https://material.angular.io/guide/typography)
Answered By - Ashiv3r
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.