fix: several issues related to graph

fixed position: sticky not working on safari
This commit is contained in:
Tienson Qin
2021-04-18 10:54:37 +08:00
parent 8f6505d04b
commit dcf37edc10
8 changed files with 48 additions and 26 deletions

View File

@@ -641,7 +641,7 @@
; FIXME: No need to call `distinct`?
(distinct))))
(open-right-sidebar!)
(when-let [elem (gdom/getElement "right-sidebar")]
(when-let [elem (gdom/getElement "right-sidebar-container")]
(util/scroll-to elem 0))))
(defn sidebar-remove-block!