refactor: 添加评论的全局html样式

This commit is contained in:
caiyuchao
2025-09-11 17:09:53 +08:00
parent 8439e16fed
commit 85b3b2d471

View File

@@ -73,3 +73,42 @@
.ant-app .form-valid-error .ant-picker-focused { .ant-app .form-valid-error .ant-picker-focused {
box-shadow: 0 0 0 2px rgb(255 38 5 / 6%); box-shadow: 0 0 0 2px rgb(255 38 5 / 6%);
} }
/** 富文本html显示内容 */
.rich-text-comment-content {
font-family:Helvetica,Arial,sans-serif;
font-size:16px;
h1, h2, h3, h4, h5, h6, p, a, div, span, code, pre, blockquote, ul, ol, li {
all: revert;
}
}
/** 富文本html显示内容-表格专用 */
.rich-text-comment-content-table {
font-family:Helvetica,Arial,sans-serif;
font-size:16px;
h1, h2, h3, h4, h5, h6, p, a, div, span, code, pre, blockquote, ul, ol, li, table, thead, tbody, tr, th, td {
all: revert;
}
li {
margin: 0;
line-height: 1.2em;
}
ul, ol {
margin: 0;
line-height: 0em;
}
h1, h2, h3, h4, h5, h6, p {
margin: 0;
line-height: 1.2em;
}
}