mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -235,7 +235,7 @@ ${getTypeByCellElement(item) === "block" ? ' data-detached="true"' : ""}><span c
|
||||
};
|
||||
|
||||
export const stickyRow = (blockElement: HTMLElement, elementRect: DOMRect, status: "top" | "bottom" | "all") => {
|
||||
// 只读模式下也许固定 https://github.com/siyuan-note/siyuan/issues/11338
|
||||
// 只读模式下也需固定 https://github.com/siyuan-note/siyuan/issues/11338
|
||||
const scrollRect = blockElement.querySelector(".av__scroll").getBoundingClientRect();
|
||||
const headerElement = blockElement.querySelector(".av__row--header") as HTMLElement;
|
||||
if (headerElement && (status === "top" || status === "all")) {
|
||||
|
||||
Reference in New Issue
Block a user