mirror of
https://github.com/logseq/logseq.git
synced 2026-05-16 17:02:34 +00:00
fix(ui): incorrect sticky position for the table header
This commit is contained in:
1
deps/shui/src/logseq/shui/table/core.cljc
vendored
1
deps/shui/src/logseq/shui/table/core.cljc
vendored
@@ -162,7 +162,6 @@
|
||||
(let [^js target-cls (.-classList target)
|
||||
^js table-footer (some-> table (.querySelector ".ls-table-footer"))
|
||||
^js page-el (.closest target ".page-inner")
|
||||
*ticking? (volatile! false)
|
||||
*el-top (volatile! (-> target (.getBoundingClientRect) (.-top)))
|
||||
head-height (-> (get-head-container) (.-offsetHeight))
|
||||
update-target-top! (fn []
|
||||
|
||||
@@ -360,7 +360,6 @@ input[type='range'] {
|
||||
.ls-foldable-content-inner {
|
||||
overflow: hidden;
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
|
||||
}
|
||||
|
||||
@@ -369,7 +368,6 @@ input[type='range'] {
|
||||
|
||||
.ls-foldable-content-inner {
|
||||
opacity: 0;
|
||||
transform: translateY(-2px);
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user