This commit is contained in:
Vanessa 2023-06-06 21:54:38 +08:00
parent 8c9d947ff2
commit 682757cc42

View file

@ -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 = "";