Skip to content

Commit a468852

Browse files
light/dark toggle fire resize event
fixes sizing issues in plotly-python and heatmaply fixes non-displaying leaflet
1 parent 79a1b18 commit a468852

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/resources/formats/html/templates/quarto-html-before-body.ejs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
toggleColorMode(toAlternate);
187187
setStyleSentinel(toAlternate);
188188
toggleGiscusIfUsed(toAlternate, darkModeDefault);
189+
window.dispatchEvent(new Event('resize'));
189190
};
190191
191192
<% if (respectUserColorScheme) { %>

0 commit comments

Comments
 (0)