1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-06 18:33:38 +02:00

Fix incorrect sizing of canvases, closes issue #36

Plus probably another of other unnoticed css-bugs because hiccup doesn't
interpret :class-name anymore
This commit is contained in:
Arne Schlüter 2018-12-26 16:22:07 +01:00
commit aef4724953
4 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@
[:ul (for [[idx [route label]] (map-indexed vector items)]
(let [[_ params _] route]
^{:key idx} [:li (when (= params active-item)
{:class-name "is-active"})
{:class "is-active"})
[:a {:href (apply url-for route)} label]]))]])
;; this variable determines how many pages before the first known page we should list