quantecon-book-theme
quantecon-book-theme copied to clipboard
Issue in Safari with Equation References
Hi @mmcky , I'm really sorry my work delay and I'll catch up.
I found a potential issue about equation references in all lectures. (e.g. Equation(9.1))
When I click an equation reference in MYST
, the referred equation is concealed by the upper menu bar.
This shows a comparison when I click the same equation reference. ( left: clicking Equation(1) in RST
, right: clicking Equation(9.1) in MYST
)
I wonder whether it can be fixed in some ways. ( For example, I wonder whether the upper menu bar can be invisible depending on users' cursor's position.)
thanks @sayaikegawa (cc: @DrDrij)
@DrDrij @AakashGfude is there a way to improve this issue re: alignment of math links.
Since we have a sticky toolbar we need to add padding at the top, but this padding also needs to exist for skip anchor links in the content.
Tried all the following without luck: https://css-tricks.com/hash-tag-links-padding/
@mmcky I've added a solution which works cleanly in chrome and firefox for now. https://github.com/QuantEcon/quantecon-book-theme/commit/4ac9e170e2c309e9c9e23757fe40d7ec31ae485b
https://60263686dc45de7dbd694187--hungry-lovelace-7d0512.netlify.app
Thanks @DrDrij given this is an issue in safari
I will transfer this issue to quantecon-book-theme
for tracking