This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ enum CssClasses {
3333const numbers = {
3434 BOUNDED_ANCHOR_GAP : 4 ,
3535 UNBOUNDED_ANCHOR_GAP : 8 ,
36- MIN_VIEWPORT_TOOLTIP_THRESHOLD : 32 ,
36+ MIN_VIEWPORT_TOOLTIP_THRESHOLD : 8 ,
3737 HIDE_DELAY_MS : 600 ,
3838 SHOW_DELAY_MS : 500 ,
3939 // LINT.IfChange(tooltip-dimensions)
Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ describe('MDCTooltipFoundation', () => {
509509 const tooltipSize = { width : 100 , height : 30 } ;
510510
511511 const { foundation, mockAdapter} = setUpFoundationTest ( MDCTooltipFoundation ) ;
512- mockAdapter . getViewportWidth . and . returnValue ( 500 ) ;
512+ mockAdapter . getViewportWidth . and . returnValue ( 480 ) ;
513513 mockAdapter . getAnchorBoundingRect . and . returnValue ( anchorBoundingRect ) ;
514514 mockAdapter . getTooltipSize . and . returnValue ( tooltipSize ) ;
515515
@@ -796,7 +796,7 @@ describe('MDCTooltipFoundation', () => {
796796
797797 const { foundation, mockAdapter} =
798798 setUpFoundationTest ( MDCTooltipFoundation ) ;
799- mockAdapter . getViewportHeight . and . returnValue ( 120 ) ;
799+ mockAdapter . getViewportHeight . and . returnValue ( 110 ) ;
800800 mockAdapter . getAnchorBoundingRect . and . returnValue ( anchorBoundingRect ) ;
801801 mockAdapter . getTooltipSize . and . returnValue ( tooltipSize ) ;
802802
You can’t perform that action at this time.
0 commit comments