From 7bbddcaebfd43f88eaf3b9ee52322ef9141abc16 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 2 Jan 2020 22:49:40 -0800 Subject: [PATCH] fix: Unable to focus into description in collection edit --- app/components/Editor/Editor.js | 2 +- app/components/InputRich.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/Editor/Editor.js b/app/components/Editor/Editor.js index fa6d92054..fd3b78c05 100644 --- a/app/components/Editor/Editor.js +++ b/app/components/Editor/Editor.js @@ -104,7 +104,7 @@ class Editor extends React.Component { } const StyledEditor = styled(RichMarkdownEditor)` - flex-grow: ${props => (props.grow ? 'initial' : '0')}; + flex-grow: ${props => (props.grow ? 1 : 0)}; justify-content: start; > div { diff --git a/app/components/InputRich.js b/app/components/InputRich.js index 2512ccc7b..9022a709e 100644 --- a/app/components/InputRich.js +++ b/app/components/InputRich.js @@ -51,6 +51,7 @@ class InputRich extends React.Component { ) : (