Use a 6-column grid for the Feed Pages (Subscriptions and Trending)

This commit is contained in:
root
2021-11-14 01:56:10 +05:30
parent daecdcf886
commit c4b74fb588
+4 -4
View File
@@ -16,8 +16,8 @@
<span v-if="!errorIsJSON">{{ $t(error) }}</span>
<JSONViewer v-else :value="error" />
</v-alert>
<v-row v-for="(row, rowId) in chunkedByFour" :key="rowId">
<v-col md="3" v-for="(video, videoId) in row" :key="videoId">
<v-row v-for="(row, rowId) in chunkedBySix" :key="rowId">
<v-col md="2" v-for="(video, videoId) in row" :key="videoId">
<VideoItem :video="video" max-height />
</v-col>
</v-row>
@@ -102,8 +102,8 @@ export default {
}
},
computed: {
chunkedByFour () {
return _chunk(this.videos, 4)
chunkedBySix () {
return _chunk(this.videos, 6)
}
},
components: {