Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/6563

Vanessad299e36b9fc7
diff --git a/app/src/asset/pdf/app.js b/app/src/asset/pdf/app.js
index 09711f6744..f07d7a125a 100644
--- a/app/src/asset/pdf/app.js
+++ b/app/src/asset/pdf/app.js
@@ -2757,7 +2757,7 @@ function webViewerUpdateFindControlState ({
rawQuery,
source,
}) {
- const pdfInstance = getPdfInstance(source.state.source.bar)
+ const pdfInstance = getPdfInstance(source._linkService.pdfViewer.container)
if (!pdfInstance) {
return
}
diff --git a/app/src/config/index.ts b/app/src/config/index.ts
index 32f9ded93f..1efdb98d5f 100644
--- a/app/src/config/index.ts
+++ b/app/src/config/index.ts
@@ -57,7 +57,7 @@ export const openSetting = () => {
});
initConfigSearch(dialog.element);
-
+ (dialog.element.querySelector(".b3-dialog__container") as HTMLElement).style.maxWidth = "1280px";
dialog.element.querySelectorAll(".b3-tab-bar .b3-list-item").forEach(item => {
item.addEventListener("click", () => {
const type = item.getAttribute("data-name");