mirror of https://github.com/logseq/logseq
Merge branch 'master' into fix-IOS-bottom-fixed-position
commit
7a20921ab6
|
@ -1450,11 +1450,11 @@ a.tag:hover {
|
|||
|
||||
/* Hide scrollbar for IE, Edge and Firefox */
|
||||
.hide-scrollbar {
|
||||
-ms-overflow-style: none; /* IE and Edge */
|
||||
scrollbar-width: none; /* Firefox */
|
||||
-ms-overflow-style: none; /* IE and Edge */
|
||||
scrollbar-width: none !important; /* Firefox */
|
||||
}
|
||||
|
||||
/* Hide scrollbar for Chrome, Safari and Opera */
|
||||
.hide-scrollbar::-webkit-scrollbar {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -61,12 +61,6 @@
|
|||
;; If the click target is outside of current node
|
||||
(when-not (dom/contains dom-node (.. e -target))
|
||||
(on-hide state e :click))))
|
||||
(listen state dom-node "keydown"
|
||||
(fn [e]
|
||||
(case (.-keyCode e)
|
||||
;; Esc
|
||||
27 (on-hide state e :esc)
|
||||
nil)))
|
||||
(when visibilitychange?
|
||||
(listen state js/window "visibilitychange"
|
||||
(fn [e]
|
||||
|
@ -135,7 +129,7 @@
|
|||
;; :will-unmount (fn [state]
|
||||
;; (detach state)
|
||||
;; state)
|
||||
})))
|
||||
})))
|
||||
|
||||
(defn modal
|
||||
[k]
|
||||
|
|
Loading…
Reference in New Issue