break individual stats in two rows on small screens

This commit is contained in:
Martin Klepsch 2018-03-14 18:40:20 +01:00 committed by Tetiana Churikova
parent 35a8cfd84c
commit 1310c74ce6
1 changed files with 3 additions and 3 deletions

View File

@ -58,13 +58,13 @@
[claim-card bounty claim])))) [claim-card bounty claim]))))
(defn bounty-stats [{:keys [paid unpaid]}] (defn bounty-stats [{:keys [paid unpaid]}]
[:div.cf.pv4 [:div.cf
[:div.fl.w-50.tc [:div.fl-ns.w-50-ns.tc.pv4
[:div.ttu.tracked "Open"] [:div.ttu.tracked "Open"]
[:div.f2.pa2 (common/usd-string (:combined-usd-value unpaid))] [:div.f2.pa2 (common/usd-string (:combined-usd-value unpaid))]
[:div (:count unpaid) " bounties"]] [:div (:count unpaid) " bounties"]]
[:div.fl.w-50.tc [:div.fl-ns.w-50-ns.tc.pv4
[:div.ttu.tracked "Paid"] [:div.ttu.tracked "Paid"]
[:div.f2.pa2 (common/usd-string (:combined-usd-value paid))] [:div.f2.pa2 (common/usd-string (:combined-usd-value paid))]
[:div (:count paid) " bounties"]]]) [:div (:count paid) " bounties"]]])