From bf73479c4a859cc544d06295d00a49c1422f7e72 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 17 Nov 2020 17:41:15 -0300 Subject: [PATCH] alto del editor --- app/assets/stylesheets/editor.scss | 2 ++ app/views/posts/attributes/_content.haml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/editor.scss b/app/assets/stylesheets/editor.scss index e5eced70..b6c928ac 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 1e6fd414..5300f284 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