1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-27 08:31:20 +02:00

Fix MarkdownEditor css

This commit is contained in:
Chen-I Lim 2020-11-03 16:38:16 -08:00
parent b8dce8a110
commit 2232d531ee
4 changed files with 7 additions and 6 deletions

View File

@ -13,4 +13,10 @@
margin-bottom: 17px;
flex-grow: 1;
}
> * {
flex: 1 1 auto;
}
> .octo-block-margin {
flex: 0 0 auto;
}
}

View File

@ -2,7 +2,6 @@
.MarkdownEditor {
cursor: text;
width: 100%;
/* CodeMirror / SimpleMDE / EasyMDE overrides */
.CodeMirror {

View File

@ -179,7 +179,7 @@ class MarkdownEditor extends React.Component<Props, State> {
const element =
(<div
ref={this.frameRef}
className={`MarkdownEditor octo-editor ${this.props.className}`}
className={`MarkdownEditor octo-editor ${this.props.className || ''}`}
>
{previewElement}
{editorElement}

View File

@ -190,10 +190,6 @@ hr {
width: 100%;
padding-right: 126px;
* {
flex-shrink: 0;
}
}
.octo-block-margin {