mirror of https://github.com/logseq/logseq
fix: loader direction
parent
9f3ad93ab7
commit
91a0bf1eeb
|
@ -728,6 +728,10 @@ li p:last-child,
|
|||
-webkit-animation: spin 2s infinite linear;
|
||||
}
|
||||
|
||||
.loader-reverse {
|
||||
-webkit-animation: spin 2s infinite linear reverse;
|
||||
}
|
||||
|
||||
.canceled,
|
||||
.done {
|
||||
text-decoration: line-through;
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
(when-not (= repo config/local-repo)
|
||||
(if (and nfs-repo? (nfs-handler/supported?))
|
||||
(let [syncing? (state/sub :graph/syncing?)]
|
||||
[:div.opacity-60.refresh.hover:opacity-100 {:class (if syncing? "loader" "initial")}
|
||||
[:div.opacity-60.refresh.hover:opacity-100 {:class (if syncing? "loader-reverse" "initial")}
|
||||
[:a.block.p-2
|
||||
{:on-click #(nfs-handler/refresh! repo refresh-cb)
|
||||
:title (str "Import files from the local directory: " (config/get-local-dir repo) ".\nVersion: "
|
||||
|
|
Loading…
Reference in New Issue