diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-04-28 19:27:03 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-04-28 19:27:03 -0300 |
| commit | eb3032a97a2a195627929c56215e3f080f28aca8 (patch) | |
| tree | 739b64a5832454cf1e620e0ffadba315a6aec2f4 | |
| parent | 26ea1e70c92f0fb59cd66e817d6d284b2e0568f5 (diff) | |
client: hoverable-tooltip: don't consider horizontal overlap going rightward
...because tooltip content already runs toward the right, and will meet the expected amount of overlap naturally
| -rw-r--r-- | src/static/js/client/hoverable-tooltip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/client/hoverable-tooltip.js b/src/static/js/client/hoverable-tooltip.js index 99fe14f6..e0c74747 100644 --- a/src/static/js/client/hoverable-tooltip.js +++ b/src/static/js/client/hoverable-tooltip.js @@ -897,7 +897,7 @@ export function getTooltipFromHoverablePlacementOpportunityAreas(hoverable) { const rightRightLeft = WikiRect.leftOf( - hoverableRect.left - neededHorizontalOverlap + tooltipRect.width); + hoverableRect.left + tooltipRect.width); const leftLeftRight = WikiRect.rightOf( |