mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-08-14 15:21:00 +00:00
fix: mark read font size
This commit is contained in:
@@ -189,7 +189,7 @@
|
|||||||
<div class="mark-approve-button-item" @click="approve(item.fromUser.id, item.id)">同意</div>
|
<div class="mark-approve-button-item" @click="approve(item.fromUser.id, item.id)">同意</div>
|
||||||
<div class="mark-reject-button-item" @click="reject(item.fromUser.id, item.id)">拒绝</div>
|
<div class="mark-reject-button-item" @click="reject(item.fromUser.id, item.id)">拒绝</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="mark-read-button-item" @click="markRead(item.id)">已读</div>
|
<div v-else class="has_read_button" @click="markRead(item.id)">已读</div>
|
||||||
</template>
|
</template>
|
||||||
</NotificationContainer>
|
</NotificationContainer>
|
||||||
</template>
|
</template>
|
||||||
@@ -200,12 +200,6 @@
|
|||||||
{{ sanitizeDescription(item.post.title) }}
|
{{ sanitizeDescription(item.post.title) }}
|
||||||
</router-link>
|
</router-link>
|
||||||
已审核通过
|
已审核通过
|
||||||
<template #actions>
|
|
||||||
<div class="mark-read-button">
|
|
||||||
<button class="mark-read-button-item" v-if="!item.read" @click="markRead(item.id)">标记为已读</button>
|
|
||||||
<button class="read-button-item" v-else @click="markRead(item.id)">已读</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</NotificationContainer>
|
</NotificationContainer>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="item.type === 'POST_REVIEWED' && item.approved === false">
|
<template v-else-if="item.type === 'POST_REVIEWED' && item.approved === false">
|
||||||
@@ -636,7 +630,9 @@ export default {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.has_read_button {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.notif-content-text:hover {
|
.notif-content-text:hover {
|
||||||
color: var(--primary-color) !important;
|
color: var(--primary-color) !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user