From 5aed4216936dbd50a70ba65d6cde7eb1f90cf905 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Fri, 10 May 2019 23:00:53 +0800 Subject: [PATCH] Update markdown css. --- src/components/global.less | 30 ++++++++++++++++++++++++++++++ src/views/comment/CommentList.vue | 1 + src/views/dashboard/Dashboard.vue | 2 +- 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/src/components/global.less b/src/components/global.less index ef4747ef..22fbefde 100644 --- a/src/components/global.less +++ b/src/components/global.less @@ -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%; + } } \ No newline at end of file diff --git a/src/views/comment/CommentList.vue b/src/views/comment/CommentList.vue index e16e3f33..37a1ad59 100644 --- a/src/views/comment/CommentList.vue +++ b/src/views/comment/CommentList.vue @@ -106,6 +106,7 @@ :pagination="false" >

回复 -

+