Set font size of Angular Material Tooltip

后端 未结 8 1517
-上瘾入骨i
-上瘾入骨i 2020-12-18 17:37

I am very new to web development, and I cannot figure out how to solve the following issue, although it may be very easy.

I am using Angular 4 and Angular Material t

8条回答
  •  时光取名叫无心
    2020-12-18 18:26

    My problem was that using a globally defined css class-name such as .customname-toolip for matTooltipClass was NOT working. My solution below, and the !important was needed; set in the global styles.css file:

    .mat-tooltip {
    font-size: 16px !important;
    

    }

提交回复
热议问题