Skip to content
Snippets Groups Projects
Verified Commit ce144706 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Masonry on artist list

parent 3b164302
Branches
Tags
No related merge requests found
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
data () { data () {
return { return {
backend: backend, backend: backend,
initialTracks: 4, initialTracks: 5,
showAllTracks: false showAllTracks: false
} }
}, },
......
...@@ -54,8 +54,8 @@ export default { ...@@ -54,8 +54,8 @@ export default {
data () { data () {
return { return {
backend: backend, backend: backend,
initialAlbums: 3, initialAlbums: 30,
showAllAlbums: false showAllAlbums: true
} }
}, },
computed: { computed: {
......
...@@ -34,8 +34,16 @@ ...@@ -34,8 +34,16 @@
</div> </div>
</div> </div>
<div class="ui hidden divider"></div> <div class="ui hidden divider"></div>
<div v-if="result" class="ui stackable three column grid"> <div
v-if="result"
v-masonry
transition-duration="0"
item-selector=".column"
percent-position="true"
stagger="0"
class="ui stackable three column doubling grid">
<div <div
v-masonry-tile
v-if="result.results.length > 0" v-if="result.results.length > 0"
v-for="artist in result.results" v-for="artist in result.results"
:key="artist.id" :key="artist.id"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment