mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
9f69d7dc4a
commit
93df02dbab
12 changed files with 154 additions and 101 deletions
|
|
@ -108,7 +108,11 @@ export const resizeTabs = (isSaveLayout = true) => {
|
|||
});
|
||||
});
|
||||
models.search.forEach(item => {
|
||||
item.edit.resize();
|
||||
if (item.element.querySelector("#searchUnRefPanel").classList.contains("fn__none")) {
|
||||
item.editors.edit.resize();
|
||||
} else {
|
||||
item.editors.unRefEdit.resize();
|
||||
}
|
||||
});
|
||||
models.custom.forEach(item => {
|
||||
if (item.resize) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue