From 1c92266b642e918483c89a6adfb3131e77c4bf06 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sun, 30 Aug 2020 20:54:33 +0800 Subject: [PATCH] fix: Fixed Error when specifying 100% to height. #47 --- src/MDEditor.tsx | 2 +- src/components/Toolbar/index.tsx | 65 +++++++++++++++----------------- website/App.tsx | 2 +- 3 files changed, 32 insertions(+), 37 deletions(-) diff --git a/src/MDEditor.tsx b/src/MDEditor.tsx index c3e26ef43..bb931fcdc 100644 --- a/src/MDEditor.tsx +++ b/src/MDEditor.tsx @@ -162,7 +162,7 @@ export default class MDEditor extends React.PureComponent
{/(edit|live)/.test(this.state.preview as string) && (