Fixup resetting styles

This commit is contained in:
Daniel Compton 2017-11-24 16:48:52 +13:00
parent 132dcd6b02
commit 1919827ea0
2 changed files with 4 additions and 2 deletions

View File

@ -144,7 +144,7 @@
:traces/reset-filter-items
(fn [db _]
(let [new-db (utils/dissoc-in db [:traces :filter-items])]
(save-filter-items (get-in db :traces :filter-items))
(save-filter-items (get-in new-db [:traces :filter-items]))
new-db)))
;; App DB

View File

@ -294,7 +294,9 @@
:flex-direction "column"}]
[:.filter-control {:margin "10px 0 0 10px"}]
[:.filter-items-count
[(s/& ".active") {:background yellow}
{:cursor "auto"}
[(s/& ".active") {:background yellow
:cursor "pointer"}
[(s/& ":hover") {:text-decoration "line-through"}]]]
[:.filter-fields {:margin-top "10px"}]
[:.filter-category {:display "inline-block"