fix: 评论样式

This commit is contained in:
caiyuchao
2025-09-19 19:15:15 +08:00
parent 5e4dca001b
commit 7bc5a02a17

View File

@@ -104,7 +104,6 @@ const formatContent = computed(() => {
</template> </template>
<template #content> <template #content>
<div> <div>
<!-- eslint-disable-next-line vue/no-v-html -->
<!-- <span class="rich-text-comment-content" v-html="formatContent"></span> --> <!-- <span class="rich-text-comment-content" v-html="formatContent"></span> -->
<ShadowContainer <ShadowContainer
:content="formatContent" :content="formatContent"
@@ -198,12 +197,11 @@ const formatContent = computed(() => {
</a-comment> </a-comment>
</template> </template>
<style> <style>
:where(.css-dev-only-do-not-override-14589v).ant-comment .ant-comment-actions { .ant-comment .ant-comment-actions {
margin-top: 0; margin-top: 0;
} }
:where(.css-dev-only-do-not-override-14589v).ant-comment .ant-comment .ant-comment-content-author {
.ant-comment-content-author {
margin-bottom: -2px; margin-bottom: -2px;
} }
</style> </style>