minor improvements
This commit is contained in:
@@ -22,11 +22,8 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
|
||||||
animation: scaleUp .7s ease both;
|
|
||||||
}
|
|
||||||
@keyframes scaleUp {
|
@keyframes scaleUp {
|
||||||
from { opacity: 0; transform: scale(.95); }
|
from { opacity: 0; transform: translateY(20px); transform-origin: top center; }
|
||||||
}
|
}
|
||||||
@keyframes appear {
|
@keyframes appear {
|
||||||
from { opacity: 0; }
|
from { opacity: 0; }
|
||||||
|
|||||||
@@ -62,7 +62,6 @@
|
|||||||
opc (fn [p]
|
opc (fn [p]
|
||||||
(on-params-change (merge @params p)))]
|
(on-params-change (merge @params p)))]
|
||||||
(fn [{:keys [id invoice-page status on-params-change vendors checked params]}]
|
(fn [{:keys [id invoice-page status on-params-change vendors checked params]}]
|
||||||
(println "PARAMS" @params)
|
|
||||||
(let [{:keys [sort-by asc]} @params
|
(let [{:keys [sort-by asc]} @params
|
||||||
{:keys [invoices start end count total]} @invoice-page
|
{:keys [invoices start end count total]} @invoice-page
|
||||||
visible-checks @(re-frame/subscribe [::visible-checks])
|
visible-checks @(re-frame/subscribe [::visible-checks])
|
||||||
|
|||||||
@@ -38,13 +38,13 @@
|
|||||||
|
|
||||||
extended-last-page-button (when (not= last-page-button total-pages)
|
extended-last-page-button (when (not= last-page-button total-pages)
|
||||||
(list
|
(list
|
||||||
^ {:key 1} [:li [:span.pagination-ellipsis "…"]]
|
^ {:key -1} [:li [:span.pagination-ellipsis "…"]]
|
||||||
^ {:key 2} (last all-buttons)))
|
^ {:key -2} (last all-buttons)))
|
||||||
|
|
||||||
extended-first-page-button (when (not= first-page-button 0)
|
extended-first-page-button (when (not= first-page-button 0)
|
||||||
(list
|
(list
|
||||||
^{:key 1} (first all-buttons)
|
^{:key -1} (first all-buttons)
|
||||||
^{:key 2} [:li [:span.pagination-ellipsis "…"]]))]
|
^{:key -2} [:li [:span.pagination-ellipsis "…"]]))]
|
||||||
|
|
||||||
|
|
||||||
[:nav.pagination {:role "pagination"}
|
[:nav.pagination {:role "pagination"}
|
||||||
|
|||||||
Reference in New Issue
Block a user