xarray-contrib/xwrf

Furo theme Xarray styling is bad on non-chromium browsers

Closed this issue · 3 comments

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.

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.

Note that this should be closed and the hack should no longer be needed when a new release of Xarray is minted.

I'm going to close this now and point to #74 when the next Xarray release is minted.