fix: avatars in grid, not seperate grids
This commit is contained in:
parent
c19c67f6db
commit
df331269bf
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "calckey",
|
||||
"version": "13.0.8-rc3",
|
||||
"version": "13.0.8-rc4",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="defgtij">
|
||||
<div v-for="user in users" :key="user.id" class="users">
|
||||
<MkAvatar :user="user" class="avatar" :show-indicator="true"/>
|
||||
<div v-for="user in users" :key="user.id" class="avatar">
|
||||
<MkAvatar :user="user" :show-indicator="true"/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -26,13 +26,10 @@ onMounted(async () => {
|
|||
<style lang="scss">
|
||||
.defgtij {
|
||||
padding: 12px;
|
||||
|
||||
> .users {
|
||||
grid-gap: 12px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(30px, 40px));
|
||||
grid-gap: 12px;
|
||||
place-content: center;
|
||||
padding: 12px;
|
||||
|
||||
> .avatar {
|
||||
width: 100%;
|
||||
|
@ -40,5 +37,4 @@ onMounted(async () => {
|
|||
aspect-ratio: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue