From 2df82dd87024d0dc6673e9a47e56e33b257150b8 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Fri, 12 Feb 2021 23:35:02 +0000 Subject: [PATCH] Added padding to the bottom of the WYSIWYG editor Also fixed weird affects from body now always being flex. For #1075 --- resources/sass/_tinymce.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/sass/_tinymce.scss b/resources/sass/_tinymce.scss index dfaf6683e..05f48b073 100644 --- a/resources/sass/_tinymce.scss +++ b/resources/sass/_tinymce.scss @@ -63,8 +63,14 @@ } .page-content.mce-content-body { - padding-top: 16px; + padding-block-start: 1rem; + padding-block-end: 1rem; outline: none; + display: block; +} + +.page-content.mce-content-body > :last-child { + margin-bottom: 3rem; } // Fix to prevent 'No color' option from not being clickable.