diff --git a/frontend/app/shared/components/forms/markdown-editor.component.scss b/frontend/app/shared/components/forms/markdown-editor.component.scss index 685346310..fe24f9274 100644 --- a/frontend/app/shared/components/forms/markdown-editor.component.scss +++ b/frontend/app/shared/components/forms/markdown-editor.component.scss @@ -3,7 +3,10 @@ $background: #fff; :host ::ng-deep { // sass-lint:disable class-name-format .CodeMirror { + box-sizing: content-box; height: 300px; + padding-bottom: 10px; + padding-top: 0; } } diff --git a/frontend/app/shared/components/forms/markdown-editor.component.ts b/frontend/app/shared/components/forms/markdown-editor.component.ts index 5b259ee8d..36bbca4bb 100644 --- a/frontend/app/shared/components/forms/markdown-editor.component.ts +++ b/frontend/app/shared/components/forms/markdown-editor.component.ts @@ -90,6 +90,8 @@ export class MarkdownEditorComponent extends StatefulControlComponent