Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
Change column behaviour
Browse files Browse the repository at this point in the history
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
  • Loading branch information
mrdrogdrog committed Feb 9, 2021
1 parent 401a7c4 commit ed78629
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const MetadataEditor: React.FC<MetadataEditorProps> = ({ show, onHide })
titleI18nKey={ 'editor.modal.metadataEditor.title' }>
<Modal.Body>
<Row>
<Col xs={ 6 }>
<Col lg={ 6 }>
<InputLabel id={ 'title' } label={ t('editor.modal.metadataEditor.labels.title') }>
<StringMetadataInput id={ 'title' } content={ yamlMetadata.title }
onContentChange={ title => setNoteFrontmatter({ ...yamlMetadata, title }) }/>
Expand All @@ -91,7 +91,7 @@ export const MetadataEditor: React.FC<MetadataEditorProps> = ({ show, onHide })
onContentChange={ disqus => setNoteFrontmatter({ ...yamlMetadata, disqus }) }/>
</InputLabel>
</Col>
<Col xs={ 6 }>
<Col lg={ 6 }>
<InputLabel id={ 'lang' } label={ t('editor.modal.metadataEditor.labels.lang') }>
<DatalistMetadataInput id={ 'lang' } options={ ISO.getAllCodes() } content={ yamlMetadata.lang }
onContentChange={ lang => setNoteFrontmatter({ ...yamlMetadata, lang }) }/>
Expand Down

0 comments on commit ed78629

Please sign in to comment.