Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve the layout of the empty market list https://github.com/siyuan-note/siyuan/issues/17358#issuecomment-4192796313 (#17448)

Jeffrey Chendc4945426c0f
diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts
index d85b01dfbe..c94645ad65 100644
--- a/app/src/config/bazaar.ts
+++ b/app/src/config/bazaar.ts
@@ -1137,6 +1137,6 @@ type="checkbox">
html += item.outerHTML;
});
}
- element.innerHTML = `<div class="b3-cards">${html || `<ul class="b3-list b3-list--background"><li class="b3-list--empty">${window.siyuan.languages.emptyContent}</li></ul>`}</div>`;
+ element.innerHTML = `<div class="b3-cards${html ? "" : " b3-cards--nowrap"}">${html || `<ul class="b3-list b3-list--background"><li class="b3-list--empty">${window.siyuan.languages.emptyContent}</li></ul>`}</div>`;
}
};