浏览代码

fix: sync button color

Tienson Qin 3 年之前
父节点
当前提交
150f50ef5b
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/main/frontend/components/file_sync.cljs

+ 4 - 3
src/main/frontend/components/file_sync.cljs

@@ -191,9 +191,10 @@
 (rum/defc sync-now
   []
   (ui/button "Sync now"
-             :class "block cursor-pointer"
-             :small? true
-             :on-click #(async/offer! fs-sync/immediately-local->remote-chan true)))
+    :class "block cursor-pointer"
+    :small? true
+    :on-click #(async/offer! fs-sync/immediately-local->remote-chan true)
+    :style {:color "#ffffff"}))
 
 (def *last-calculated-time (atom nil))