White border when viewing plot in html? *Not plot or paper bg*

There’s a white border around my plot paper when viewing in html in a browser. It’s very noticeable since I use a dark theme.

The border will be thicker when I resize the browser window, and then change to about half as thin when I double click the plot. But it never fully goes away.

Is there any way to fix this?