0

I want to make the font size bigger on the tooltips with Angular 2 Materials Tooltips. https://material.angular.io/components/tooltip/overview

How can this be done? For Angular 1 Materials, I see people suggesting to just add to the CSS class .md-tooltip but that's not used in Angular 2 Materials.

Marcturis
  • 117
  • 2
  • 12
  • 1
    Possible duplicate of [Set font size of Angular Material Tooltip](https://stackoverflow.com/questions/44587532/set-font-size-of-angular-material-tooltip) – angularrocks.com Aug 07 '17 at 23:14

1 Answers1

0

There is mat-tooltip class that material2 use for the tooltip. You can override the properties. There is the actual class

.mat-tooltip {
    color: #fff;
    border-radius: 2px;
    margin: 14px;
    max-width: 250px;
    padding-left: 8px;
    padding-right: 8px;
}
Sunil Garg
  • 14,608
  • 25
  • 132
  • 189