mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-06 11:16:10 +08:00
fix(popover): Correctly position pointer
This commit is contained in:
parent
f7b1209b5c
commit
b09ae2d317
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class FixedPopover extends Component {
|
||||||
top: originRect.height / 2,
|
top: originRect.height / 2,
|
||||||
}
|
}
|
||||||
pointerStyle = {
|
pointerStyle = {
|
||||||
transform: 'translate(-12px, 0) rotate(90deg)',
|
transform: 'translate(-12px, -50%) rotate(90deg)',
|
||||||
top: originRect.height, // Don't divide by 2 because of zoom
|
top: originRect.height, // Don't divide by 2 because of zoom
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue