Skip to content

Commit 2786b34

Browse files
crisbetojosephperrott
authored andcommitted
fix(tooltip): long continuous strings overflowing tooltip container (#11363)
1 parent 4a82174 commit 2786b34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/tooltip/tooltip.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ $mat-tooltip-handset-margin: 24px;
2222
max-width: $mat-tooltip-max-width;
2323
padding-left: $mat-tooltip-horizontal-padding;
2424
padding-right: $mat-tooltip-horizontal-padding;
25+
overflow: hidden;
26+
text-overflow: ellipsis;
2527

2628
@include cdk-high-contrast {
2729
outline: solid 1px;

0 commit comments

Comments
 (0)