Furo theme Xarray styling is bad on non-chromium browsers
Closed this issue · 3 comments
kmpaul commented
What is your issue?
The styling fix implemented for Xarray HTML reprs when used with the Furo Sphinx theme only works for Chrome. It needs further investigation for Safari and Firefox browsers.
kmpaul commented
Turns out the fix for this was very easy. The hack I implemented initially in #72 implemented a function that assigned a value to a const
, which should not be allowed. Turns out Chrome was a bit forgiving, while Safari and Firefox were not. Thus, I just changed the problem variable from a const
to a var
and it now works in Chrome, Safari, and Firefox.
kmpaul commented
Note that this should be closed and the hack should no longer be needed when a new release of Xarray is minted.