💄 fix card height err

This commit is contained in:
目棃
2024-12-06 20:52:20 +08:00
parent a54f2f5f53
commit c7f24d2345

View File

@@ -9,7 +9,9 @@
</v-btn> </v-btn>
</div> </div>
<div class="tops-list"> <div class="tops-list">
<TPostCard v-for="item in results" :key="item.post.post_id" :model-value="item" /> <div v-for="item in results" :key="item.post.post_id">
<TPostCard :model-value="item" />
</div>
</div> </div>
</div> </div>
</TOverlay> </TOverlay>
@@ -145,6 +147,7 @@ async function searchPosts() {
} }
.tops-list { .tops-list {
position: relative;
display: flex; display: flex;
width: 400px; width: 400px;
max-height: 400px; max-height: 400px;