mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-07 02:33:39 +02:00
Make progress bar take up all available space
This commit is contained in:
parent
0092a3985f
commit
59d9938df0
2 changed files with 9 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
(defn current-song-info [{:keys [item status]}]
|
||||
[:article
|
||||
[:div (:artist item) " - " (:title item)]
|
||||
;; FIXME: Sometimes items don't have a duration
|
||||
[:progress.progress.is-tiny {:value (:current-time status)
|
||||
:max (:duration item)}]])
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,13 @@
|
|||
padding-left: .5rem
|
||||
padding-right: .5rem
|
||||
|
||||
.media
|
||||
flex-grow: 1
|
||||
align-items: center
|
||||
|
||||
progress
|
||||
width: 100%
|
||||
|
||||
.progress.is-tiny
|
||||
height: .25rem
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue