We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c12b73e commit c04f84fCopy full SHA for c04f84f
src/material/tooltip/tooltip.scss
@@ -98,9 +98,14 @@
98
}
99
100
101
-// We need the additional specificity here, because it can be overridden by `.cdk-overlay-panel`.
102
-.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {
103
- pointer-events: none;
+.mat-mdc-tooltip-panel {
+ // The line height inherited from the body can throw off the tooltip gap (see #30132).
+ line-height: normal;
104
+
105
+ // We need the additional specificity here, because it can be overridden by `.cdk-overlay-panel`.
106
+ &.mat-mdc-tooltip-panel-non-interactive {
107
+ pointer-events: none;
108
+ }
109
110
111
@keyframes mat-mdc-tooltip-show {
0 commit comments