You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Fix left positioned tooltips being wrong and offset by fixed value (#7551)
Previously, the `left` positioning seemed to only work with icons which are all about the same size so the arbitrary offset worked. Now we actually position off to the left of the element and we have equal `margin-left` and `margin-right` to determine the offset. Spawned from https://github.com/matrix-org/matrix-react-sdk/pull/7339#discussion_r767154349
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
exports[`<TooltipTarget /> displays tooltip on mouseover 1`] = `
|
||||
<div
|
||||
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
|
||||
style="right: 1008px; top: -26px; display: block;"
|
||||
style="right: 1024px; top: -26px; display: block;"
|
||||
>
|
||||
<div
|
||||
class="mx_Tooltip_chevron"
|
||||
|
Reference in New Issue
Block a user