diff --git a/docs/site/assets/css/page.css b/docs/site/assets/css/page.css index 3c82fae7d63..c199cc26660 100644 --- a/docs/site/assets/css/page.css +++ b/docs/site/assets/css/page.css @@ -180,3 +180,8 @@ header#atViewHeader { div > header { display: none !important; } + +img { + max-width: 100%; + max-height: 90dvh; +} diff --git a/docs/site/assets/js/build.mjs b/docs/site/assets/js/build.mjs index 9eaf376d7b8..5b98787d668 100644 --- a/docs/site/assets/js/build.mjs +++ b/docs/site/assets/js/build.mjs @@ -31,6 +31,7 @@ const coll = new Intl.Collator(["und"]); async function processFile(d, fullPath, out) { const f = await fs.readFile(fullPath, "utf-8"); const m = matter(f); + fullPath = fullPath.replace(/\\/g, '/'); // backslash with slash, for win if (m && m.data) { const { data } = m; out.all.push({ ...data, fullPath });