juster-finance / juster-app

Decentralized betting protocol built on Tezos blockchain
https://app.juster.fi
MIT License
9 stars 3 forks source link

Make the chart container a relative-positioned div #25

Closed emilio closed 2 years ago

emilio commented 2 years ago

To fix #15 for Safari and Firefox.

MouseEvent.layerX is not standard (https://github.com/w3c/uievents/issues/135 tracks standardizing it), but meanwhile this should make the behavior match on all major browsers.

emilio commented 2 years ago

Thanks for the fast review!