diff --git a/ui/common/css/component/_friend-box.scss b/ui/common/css/component/_friend-box.scss index 1e65f257a159..fe993d6df1a6 100644 --- a/ui/common/css/component/_friend-box.scss +++ b/ui/common/css/component/_friend-box.scss @@ -71,7 +71,7 @@ &.tv { flex: 0 0 auto; - padding: 0 5px 0 0; + padding: 0 5px; } &.friend-study { diff --git a/ui/site/src/powertip.ts b/ui/site/src/powertip.ts index a5762f5dd475..ee4ac94aabe2 100644 --- a/ui/site/src/powertip.ts +++ b/ui/site/src/powertip.ts @@ -698,9 +698,9 @@ function isMouseOver(element: Cash) { const elementPosition = element.offset()!; return ( session.currentX >= elementPosition.left && - session.currentX <= elementPosition.left + element.width() && + session.currentX <= elementPosition.left + element.outerWidth() && session.currentY >= elementPosition.top && - session.currentY <= elementPosition.top + element.height() + session.currentY <= elementPosition.top + element.outerHeight() ); }