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