Skip to content

Commit 4b36a04

Browse files
committed
chore(ci): upstream update
1 parent eb89f74 commit 4b36a04

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="apple-mobile-web-app-capable" content="yes" />
6-
<meta name="generator" content="slidesdown 0.19.2" />
6+
<meta name="generator" content="slidesdown 1.0.0" />
77
<meta content="Slideshows as fast as you can type." name="description" />
88
<link href="https://slidesdown.github.io" rel="canonical" />
99
<meta content="Slideshows as fast as you can type." property="og:title" />

plugin/slidesdown.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,13 @@ function codeHandler(code, language) {
293293
btoa(code)
294294
}"></div>`;
295295
} else if (language === "apexchart") {
296-
return `<div style="width: clamp(200px, 100%, 100vw); height: clamp(200px, 100%, 100vh);" data-apexchart=${
296+
return `<div style="width: clamp(100px, 100%, 100vw); height: clamp(100px, 100%, 100vh);" data-apexchart=${
297297
btoa(code)
298298
}></div>`;
299299
} else if (language === "echarts") {
300-
return `<div><div style="width: 100px; height: 100px; width: clamp(100px, 100%, 100vw); height: clamp(100px, 100%, 100vh);" data-echarts=${
300+
return `<div style="width: 100px; height: 100px; width: clamp(100px, 100%, 100vw); height: clamp(100px, 100%, 100vh);" data-echarts=${
301301
btoa(code)
302-
}></div></div>`;
302+
}></div>`;
303303
} else {
304304
return SANITIZE(defaultCodeHandler(code, language));
305305
}

0 commit comments

Comments
 (0)