1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-07 02:33:39 +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

@ -50,7 +50,7 @@
(.fill))))
(defn current-progress [current-time seekable duration]
[canvas {:class-name "current-progress-canvas"
[canvas {:class "current-progress-canvas"
:draw #(draw-progress % current-time seekable duration)}])
;; FIXME: It's ugly to have the canvas padding and styling scattered everywhere (sass, drawing code above, and here)