enhance: set block placeholder height to 120

pull/10438/head
Tienson Qin 2023-09-04 22:10:37 +08:00
parent f8f2f987c4
commit 02cc7eb46c
2 changed files with 2 additions and 2 deletions

View File

@ -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?)

View File

@ -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)))