improving the appear problem.

This commit is contained in:
BC
2018-07-31 19:03:18 -07:00
parent f893bfde0f
commit 56fa0655d5
3 changed files with 10 additions and 6 deletions

View File

@@ -55,31 +55,35 @@
@keyframes flashWarning { @keyframes flashWarning {
from { from {
background-color: #00d1b2;
} }
to { to {
background-color: inherit;
background-color: #00d1b2;
} }
} }
@keyframes flashPrimary { @keyframes flashPrimary {
from { from {
transform: translateY(100%); background-color: #00d1b2;
opacity: 0;
} }
to { to {
background-color: #00d1b2; background-color: inherit;
} }
} }
tbody tr.live-removed { tbody tr.live-removed {
animation: flashWarning 1.0s ease both; animation: flashWarning 1.0s ease both;
animation-fill-mode: forwards;
} }
tbody tr.live-added { tbody tr.live-added {
animation: flashPrimary 1.0s ease both; animation: flashPrimary 1.0s ease both;
animation-fill-mode: forwards;
} }
.left-nav { .left-nav {
width: 300px; width: 300px;

View File

@@ -98,7 +98,7 @@
(mapcat (fn [transaction-group] (mapcat (fn [transaction-group]
(map (map
(fn [index {:keys [date description-original high-level-category amount account-id] :as transaction}] (fn [index {:keys [date description-original high-level-category amount account-id] :as transaction}]
{:id (str date "-" description-original "-" amount "-" index) {:id (str date "-" description-original "-" amount "-" index "-" company-id)
:bank-account-id account-id :bank-account-id account-id
:date (time/unparse date "YYYY-MM-dd") :date (time/unparse date "YYYY-MM-dd")
:amount {:amount amount} :amount {:amount amount}

View File

@@ -169,7 +169,7 @@
:aria-haspopup true :aria-haspopup true
:tab-index "0" :tab-index "0"
:on-blur (delayed-dispatch [::toggle-expense-accounts id]) #_#_:on-blur (delayed-dispatch [::toggle-expense-accounts id])
:on-focus (dispatch-event [::toggle-expense-accounts id]) :on-focus (dispatch-event [::toggle-expense-accounts id])
} "Accounts"]] } "Accounts"]]
[:div.dropdown-menu {:role "menu"} [:div.dropdown-menu {:role "menu"}