Improve tooltip position in block overview on mobile
This commit is contained in:
@@ -96,4 +96,8 @@ export class BlockOverviewTooltipComponent implements OnChanges {
|
||||
this.cd.markForCheck();
|
||||
}
|
||||
}
|
||||
|
||||
getTooltipLeftPosition(): string {
|
||||
return window.innerWidth < 392 ? '-40px' : this.tooltipPosition.x + 'px';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user