mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-20 19:10:49 +08:00
This commit is contained in:
parent
bee0d8c475
commit
d299e36b9f
@ -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
|
||||
}
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user