diff --git a/package.json b/package.json index 8a8ab961..b07cb3d4 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "rangeslider.js": "^2.1.1", "sinon": "^1.17.2", "vue": "^1.0.16", + "vue-clickaway": "^1.1.1", "vue-hot-reload-api": "^1.2.2", "vue-resource": "~0.5.1", "vueify": "^7.0.2", diff --git a/resources/assets/js/components/main-wrapper/main-content/album.vue b/resources/assets/js/components/main-wrapper/main-content/album.vue index 318e859f..91dbbfce 100644 --- a/resources/assets/js/components/main-wrapper/main-content/album.vue +++ b/resources/assets/js/components/main-wrapper/main-content/album.vue @@ -4,18 +4,18 @@ {{ album.name }} - - by {{ album.artist.name }} • {{ meta.songCount }} {{ meta.songCount | pluralize 'song' }} - • + • {{ meta.totalLength }} @@ -27,7 +27,7 @@ - diff --git a/resources/assets/js/components/main-wrapper/main-content/artist.vue b/resources/assets/js/components/main-wrapper/main-content/artist.vue index aacc955e..3987b4bf 100644 --- a/resources/assets/js/components/main-wrapper/main-content/artist.vue +++ b/resources/assets/js/components/main-wrapper/main-content/artist.vue @@ -4,18 +4,18 @@ {{ artist.name }} - - {{ artist.albums.length }} {{ artist.albums.length | pluralize 'album' }} • {{ meta.songCount }} {{ meta.songCount | pluralize 'song' }} - • + • {{ meta.totalLength }} @@ -27,7 +27,7 @@ - diff --git a/resources/assets/js/components/main-wrapper/main-content/favorites.vue b/resources/assets/js/components/main-wrapper/main-content/favorites.vue index e6674349..e5a9ccc6 100644 --- a/resources/assets/js/components/main-wrapper/main-content/favorites.vue +++ b/resources/assets/js/components/main-wrapper/main-content/favorites.vue @@ -2,22 +2,22 @@

Songs You Love - - {{ meta.songCount }} {{ meta.songCount | pluralize 'song' }} - • + • {{ meta.totalLength }}
- - -

-
- Start loving! - Click the icon when a song is playing to add it + Start loving! + Click the icon when a song is playing to add it to this list.
@@ -55,11 +55,11 @@ @@ -144,7 +146,7 @@ top: 36px; left: 0; width: 100%; - + p { margin: 4px 0; font-size: 90%; @@ -159,7 +161,7 @@ ul { max-height: 5 * ($itemHeight + $itemMargin); - overflow-y: scroll; + overflow-y: scroll; -webkit-overflow-scrolling: touch; }