提交 35a458d4 编写于 作者: yubinCloud's avatar yubinCloud

8-13 文档内容样式和 Ant Design 的 p 标签冲突,用自定义样式覆盖掉文档显示内容中 p 标签的显示样式

上级 12bfaf5f
......@@ -151,4 +151,12 @@ export default defineComponent({
.wangeditor ul, ol {
margin: 10px 0 10px 20px;
}
/* 和antdv p冲突,覆盖掉 */
.wangeditor blockquote p {
font-family:"YouYuan";
margin: 20px 10px !important; /* 加上 !important 以提高优先级从而覆盖掉原 Ant Design 的p标签样式*/
font-size: 16px !important;
font-weight:600;
}
</style>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册