Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/material/tooltip/tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,14 @@
}
}

// We need the additional specificity here, because it can be overridden by `.cdk-overlay-panel`.
.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {
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;

// We need the additional specificity here, because it can be overridden by `.cdk-overlay-panel`.
&.mat-mdc-tooltip-panel-non-interactive {
pointer-events: none;
}
}

@keyframes mat-mdc-tooltip-show {
Expand Down
Loading