fix(popover): Correctly position pointer

This commit is contained in:
Juan Tejada 2016-02-24 15:02:25 -08:00
parent f7b1209b5c
commit b09ae2d317

View file

@ -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;