mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
This commit is contained in:
parent
8c9d947ff2
commit
682757cc42
1 changed files with 3 additions and 0 deletions
|
|
@ -581,6 +581,9 @@ export const layoutToJSON = (layout: Layout | Wnd | Tab | Model, json: any, drop
|
|||
|
||||
export const resizeTopbar = () => {
|
||||
const toolbarElement = document.querySelector("#toolbar");
|
||||
if (!toolbarElement) {
|
||||
return;
|
||||
}
|
||||
const dragElement = toolbarElement.querySelector("#drag") as HTMLElement;
|
||||
|
||||
dragElement.style.padding = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue