mirror of https://github.com/logseq/logseq
enhance: set block placeholder height to 120
parent
f8f2f987c4
commit
02cc7eb46c
|
@ -2818,7 +2818,7 @@
|
|||
|
||||
[:div {:ref (fn [r] (when-not @*ref (reset! *ref r)))}
|
||||
(if (and (not edit?) @*hidden?)
|
||||
[:div {:style {:height 24}}]
|
||||
[:div {:style {:height 120}}]
|
||||
(let [ref? (:ref? config*)
|
||||
custom-query? (boolean (:custom-query? config*))
|
||||
ref-or-custom-query? (or ref? custom-query?)
|
||||
|
|
|
@ -84,5 +84,5 @@
|
|||
(gobj/get "scrollTop")))
|
||||
(reset! *scroll-timer (js/setTimeout
|
||||
(fn [] (state/set-state! :ui/scrolling? false)) 500)))
|
||||
debounced-on-scroll (debounce on-scroll 100)]
|
||||
debounced-on-scroll (debounce on-scroll 50)]
|
||||
(.addEventListener element "scroll" debounced-on-scroll false)))
|
||||
|
|
Loading…
Reference in New Issue