mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-01 18:30:16 +01:00
This commit is contained in:
parent
62e35b5c52
commit
dc2691d6a9
3 changed files with 2 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ export const setTabPosition = () => {
|
|||
const headerElement = item.headersElement.parentElement;
|
||||
const rect = headerElement.getBoundingClientRect()
|
||||
const dragElement = headerElement.querySelector('.item--readonly .fn__flex-1') as HTMLElement
|
||||
if (rect.top === 0) {
|
||||
if (rect.top <= 0) {
|
||||
dragElement.style.height = dragElement.parentElement.clientHeight + "px"
|
||||
// @ts-ignore
|
||||
dragElement.style.WebkitAppRegion = "drag";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue