From dbd64457e12c28b36e4f205e9955da17e85f9bf2 Mon Sep 17 00:00:00 2001 From: void Date: Tue, 17 Nov 2020 13:01:17 -0300 Subject: [PATCH] =?UTF-8?q?arreglar=20identaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/javascripts/02-editor.js | 8 ++++---- app/assets/stylesheets/editor.scss | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/02-editor.js b/app/assets/javascripts/02-editor.js index 2ad0aa14..e01132ef 100644 --- a/app/assets/javascripts/02-editor.js +++ b/app/assets/javascripts/02-editor.js @@ -344,10 +344,10 @@ function cleanNode (node, contentEl) { const value = child.style[style] switch (style) { - case 'background-color': - if (child.tagName === "MARK") break - default: - child.style[style] = "" + case 'background-color': + if (child.tagName === "MARK") break + default: + child.style[style] = "" } } } diff --git a/app/assets/stylesheets/editor.scss b/app/assets/stylesheets/editor.scss index 56ec38e1..e5eced70 100644 --- a/app/assets/stylesheets/editor.scss +++ b/app/assets/stylesheets/editor.scss @@ -13,9 +13,9 @@ .selected { outline: #f206f9 solid medium; } - iframe { - min-height: 480px; - } + iframe { + min-height: 480px; + } img, video, iframe, audio { width: 100%;