mirror of
https://github.com/koel/koel
synced 2024-11-28 15:00:42 +00:00
Better style for artist/album fillers
This commit is contained in:
parent
b71066d2f9
commit
5729e69a7a
4 changed files with 8 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
| filterBy q in 'name' 'artist.name'
|
||||
| limitBy numOfItems" :album="item"></album-item>
|
||||
|
||||
<span class="item" v-for="n in 6"></span>
|
||||
<span class="item filler" v-for="n in 6"></span>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
| filterBy q in 'name'
|
||||
| limitBy numOfItems" :artist="item"></artist-item>
|
||||
|
||||
<span class="item" v-for="n in 6"></span>
|
||||
<span class="item filler" v-for="n in 6"></span>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
|
||||
<div class="wrapper as-{{ preferences.artistsViewMode }}">
|
||||
<artist-item v-for="artist in topArtists" :artist="artist"></artist-item>
|
||||
<span class="item" v-for="n in 3"></span>
|
||||
<span class="item filler" v-for="n in 3"></span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
@ -73,7 +73,7 @@
|
|||
|
||||
<div class="wrapper">
|
||||
<album-item v-for="album in topAlbums" :album="album"></album-item>
|
||||
<span class="item" v-for="n in 3"></span>
|
||||
<span class="item filler" v-for="n in 3"></span>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -33,6 +33,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.as-list &.filler {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1200px) {
|
||||
width: 32%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue