diff --git a/app/assets/stylesheets/editor.scss b/app/assets/stylesheets/editor.scss index e5eced7..b6c928a 100644 --- a/app/assets/stylesheets/editor.scss +++ b/app/assets/stylesheets/editor.scss @@ -50,6 +50,8 @@ div[data-align="left"] { text-align: left; } div[data-align="center"] { text-align: center; } div[data-align="right"] { text-align: right; } + + min-height: 480px; } *[data-editor-loading] { diff --git a/app/views/posts/attributes/_content.haml b/app/views/posts/attributes/_content.haml index 1e6fd41..5300f28 100644 --- a/app/views/posts/attributes/_content.haml +++ b/app/views/posts/attributes/_content.haml @@ -69,5 +69,5 @@ %label{ for: 'link-href' }= t('editor.url') %input.form-control{ type: 'url', data: { prop: 'link-href' } }/ - .editor-content.form-control.h-auto{ contenteditable: 'true' } + .editor-content.form-control.h-auto.mt-1{ contenteditable: 'true' } = metadata.value.html_safe