mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
Use a 6-column grid for the Feed Pages (Subscriptions and Trending)
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user