Skip to content

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

:art: resize

Vanessafa8033d3e870
diff --git a/app/src/layout/util.ts b/app/src/layout/util.ts
index ba9fad22f1..2ae5dd8d11 100644
--- a/app/src/layout/util.ts
+++ b/app/src/layout/util.ts
@@ -662,8 +662,12 @@ export const resizeTabs = () => {
}
item.editors.forEach(editorItem => {
hideElements(["gutter"], editorItem.protyle);
+ editorItem.resize();
});
});
+ models.search.forEach(item => {
+ item.edit.resize();
+ })
models.custom.forEach(item => {
if (item.resize) {
item.resize();