From d322918edb7c32ac83983cc1f5b92728b1112acc Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 4 Jun 2023 19:56:36 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/8450 --- app/src/config/bazaar.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts index 8e6a55729..920290b5d 100644 --- a/app/src/config/bazaar.ts +++ b/app/src/config/bazaar.ts @@ -904,6 +904,9 @@ export const bazaar = { html += item.outerHTML; }); } + if (response.data.packages.length > 1 && response.data.packages.length % 2 ===1) { + html += '
'; + } element.innerHTML = `
${html}
`; if (reload) { appearance.onSetappearance(response.data.appearance);