mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
feat(webapp): GroupList shows 2 GroupItem per row
This commit is contained in:
parent
9b759ec1d2
commit
e2c82116ae
@ -1,9 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="group-list">
|
<ds-flex class="group-list">
|
||||||
<ds-space margin-bottom="small" v-for="group in groups" :key="group.id">
|
<ds-flex-item
|
||||||
|
v-for="group in groups"
|
||||||
|
:key="group.id"
|
||||||
|
:width="{ base: '47%' }">
|
||||||
<group-teaser :group="group" />
|
<group-teaser :group="group" />
|
||||||
</ds-space>
|
</ds-flex-item>
|
||||||
</div>
|
</ds-flex>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -19,3 +22,8 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="scss">
|
||||||
|
.ds-flex-item {
|
||||||
|
margin: 0em 1em 2em 1em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user