Merge branch 'nagisa77:main' into main

This commit is contained in:
夢夢の幻想郷
2025-09-02 14:47:29 +08:00
committed by GitHub
5 changed files with 38 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
:class="{ selected: userReacted(r.type) }"
@click="toggleReaction(r.type)"
>
<BaseImage :src="reactionEmojiMap[r.type]" class="emoji" alt="emoji" />
<BaseImage :src="reactionEmojiMap[r.type]" class="reaction-emoji" alt="emoji" />
<div>{{ counts[r.type] }}</div>
</div>
@@ -220,6 +220,7 @@ onMounted(async () => {
align-items: center;
width: 100%;
justify-content: space-between;
flex-wrap: wrap;
}
.reactions-viewer {
@@ -229,6 +230,12 @@ onMounted(async () => {
align-items: center;
}
.reaction-emoji {
width: 20px;
height: 20px;
vertical-align: middle;
}
.reactions-viewer-item-container {
display: flex;
flex-direction: row;
@@ -337,5 +344,23 @@ onMounted(async () => {
font-size: 16px;
padding: 3px 5px;
}
.reactions-viewer-item.placeholder,
.reactions-viewer-single-item {
padding: 4px 8px;
gap: 3px;
border: 1px solid var(--normal-border-color);
border-radius: 10px;
margin-right: 3px;
margin-bottom: 3px;
font-size: 12px;
color: var(--text-color);
align-items: center;
}
.reaction-emoji {
width: 14px;
height: 14px;
}
}
</style>