Skip to content

Commit

Permalink
feat: make the add transactions button more visible
Browse files Browse the repository at this point in the history
Fixes #22
  • Loading branch information
Akeboshiwind committed Apr 3, 2024
1 parent 9bcb9b2 commit 6f86dc3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/xt_fiddle/client.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,10 @@
batch])
[multiple-transactions {:editor editor}
tx-batches]))
[:button {:class "w-full bg-blue-100 hover:bg-blue-200 text-white font-bold py-1 rounded-full"
:on-click #(rf/dispatch [::tx-batch/append tx-batch/blank])}
"+"]]])
[:div {:class "flex flex-row justify-center"}
[:button {:class "w-10 h-10 bg-blue-500 hover:bg-blue-700 text-white font-bold py-1 rounded-full"
:on-click #(rf/dispatch [::tx-batch/append tx-batch/blank])}
"+"]]]])

(defn query [{:keys [editor]}]
[:div {:class "flex-1 flex flex-col"}
Expand Down

0 comments on commit 6f86dc3

Please sign in to comment.