increase tooltip width in angular material code example
Example 1: increase tooltip width in angular material
// Hi...this is Ayushman
::ng-deep .my-tooltip {
max-width: unset !important;
white-space: pre-wrap;
font-size: 8px;
}
Example 2: change font size of angular material tooltip
::ng-deep .my-tooltip {
// white-space: pre-line;
// width: 1500px;
// width: fit-content;
max-width: unset !important;
white-space: pre-wrap;
font-size: 8px;
}