fix: Move references spacing directly below content (#1113)

* fix: Move references spacing directly below content

* Child document -> Nested document
This commit is contained in:
Tom Moor
2019-12-18 21:00:36 -08:00
committed by GitHub
parent 949dd296b4
commit 293c3b7b9c
9 changed files with 33 additions and 12 deletions

View File

@@ -17,6 +17,7 @@ import embeds from '../../embeds';
type Props = {
defaultValue?: string,
readOnly?: boolean,
grow?: boolean,
disableEmbeds?: boolean,
forwardedRef: React.Ref<RichMarkdownEditor>,
ui: UiStore,
@@ -103,6 +104,7 @@ class Editor extends React.Component<Props> {
}
const StyledEditor = styled(RichMarkdownEditor)`
flex-grow: ${props => (props.grow ? 'initial' : '0')};
justify-content: start;
> div {