Update markdown css.

pull/9/head
ruibaby 2019-05-10 23:00:53 +08:00
parent 4e3856ca83
commit 5aed421693
3 changed files with 32 additions and 1 deletions

View File

@ -632,4 +632,34 @@ body {
.divider-transparent {
background: transparent !important;
}
.comment-content-wrapper {
h1 {
font-size: 18px;
}
h2 {
font-size: 16px;
}
h3 {
font-size: 14px;
}
h4 {
font-size: 12px;
}
h5 {
font-size: 10px;
}
h6 {
font-size: 8px;
}
img {
width: 100%;
}
}

View File

@ -106,6 +106,7 @@
:pagination="false"
>
<p
class="comment-content-wrapper"
slot="content"
slot-scope="content"
v-html="content"

View File

@ -155,7 +155,7 @@
<template slot="actions">
<span @click="handleCommentReplyClick(item)"></span>
</template>
<p slot="content" v-html="item.content"></p>
<p class="comment-content-wrapper" slot="content" v-html="item.content"></p>
<a-tooltip
slot="datetime"
:title="item.createTime | moment"