From 7fe114b83466b816ee6286978928b262ad9d312a Mon Sep 17 00:00:00 2001 From: f Date: Mon, 16 Nov 2020 20:52:34 -0300 Subject: [PATCH] usar bootstrap --- app/assets/stylesheets/editor.scss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/editor.scss b/app/assets/stylesheets/editor.scss index dcfa952..56ec38e 100644 --- a/app/assets/stylesheets/editor.scss +++ b/app/assets/stylesheets/editor.scss @@ -2,10 +2,8 @@ box-sizing: border-box; *, *::before, *::after { box-sizing: inherit; } - h1, h2, h3, h4, h5, h6, p { - min-height: 1.4em; - line-height: 1.4; - margin: 0; + h1, h2, h3, h4, h5, h6, p, li { + min-height: 1.5rem; } mark { @@ -15,6 +13,10 @@ .selected { outline: #f206f9 solid medium; } + iframe { + min-height: 480px; + } + img, video, iframe, audio { width: 100%; max-width: 600px; @@ -43,8 +45,6 @@ } } - ol, ul { margin: 0; } - .editor-content { word-wrap: break-word; div[data-align="left"] { text-align: left; } @@ -55,6 +55,7 @@ *[data-editor-loading] { opacity: 0.5; } + *[data-editor-error] { filter: grayscale(100%); }