From f3321fefb0d4baefdbe0a345894ce08def30406e Mon Sep 17 00:00:00 2001 From: zxj <782803291@qq.com> Date: Thu, 29 Jul 2021 12:41:09 +0800 Subject: [PATCH] fix: fix md editor button style (#782) --- shell/app/common/components/markdown-editor/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shell/app/common/components/markdown-editor/index.tsx b/shell/app/common/components/markdown-editor/index.tsx index ebebb3a983..ef7ec4f07b 100644 --- a/shell/app/common/components/markdown-editor/index.tsx +++ b/shell/app/common/components/markdown-editor/index.tsx @@ -223,7 +223,11 @@ export default class MarkdownEditor extends PureComponent { - {view.md ?
{this.renderButton()}
: null} + {view.md ? ( +
+ {this.renderButton()} +
+ ) : null} ); }