mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
fix: avatars in grid, not seperate grids
This commit is contained in:
parent
e4a22d029b
commit
243eed8e73
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "13.0.8-rc3",
|
"version": "13.0.8-rc4",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="defgtij">
|
<div class="defgtij">
|
||||||
<div v-for="user in users" :key="user.id" class="users">
|
<div v-for="user in users" :key="user.id" class="avatar">
|
||||||
<MkAvatar :user="user" class="avatar" :show-indicator="true"/>
|
<MkAvatar :user="user" :show-indicator="true"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -26,19 +26,15 @@ onMounted(async () => {
|
|||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.defgtij {
|
.defgtij {
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
|
grid-gap: 12px;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(30px, 40px));
|
||||||
|
place-content: center;
|
||||||
|
|
||||||
> .users {
|
> .avatar {
|
||||||
display: grid;
|
width: 100%;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(30px, 40px));
|
height: 100%;
|
||||||
grid-gap: 12px;
|
aspect-ratio: 1;
|
||||||
place-content: center;
|
|
||||||
padding: 12px;
|
|
||||||
|
|
||||||
> .avatar {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
aspect-ratio: 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user