Lattice-Automation / seqviz

a JavaScript DNA, RNA, and protein sequence viewer
https://tools.latticeautomation.com/seqviz
MIT License
246 stars 53 forks source link

Restriction Enzyme Box is out of sync on Safari #193

Closed sahasukanta closed 1 year ago

sahasukanta commented 1 year ago

The boxes around restriction enzymes are slightly lower than expected when on Safari browser.

fwew

sahasukanta commented 1 year ago

Same issue with search hit highlights unnamed

jjti commented 1 year ago

Thank you @sahasukanta for pointing this out. I experimented a bit on Safari and learned that it doesn't support this alignment-baseline SVG parameter I was using on text: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/alignment-baseline

I fixed this by removing that property ^

Screenshot 2023-03-11 at 11 44 28 AM
jjti commented 1 year ago

This should be fixed in 3.7.8: https://github.com/Lattice-Automation/seqviz/releases/tag/3.7.8