]> BookStack Code Mirror - bookstack/commitdiff
Added padding to the bottom of the WYSIWYG editor
authorDan Brown <redacted>
Fri, 12 Feb 2021 23:35:02 +0000 (23:35 +0000)
committerDan Brown <redacted>
Fri, 12 Feb 2021 23:35:42 +0000 (23:35 +0000)
Also fixed weird affects from body now always being flex.
For #1075

resources/sass/_tinymce.scss

index dfaf6683ed5888a236d1db4a42aecd21618d62fa..05f48b073c0385cabd655940cb924daf17ca3c25 100644 (file)
 }
 
 .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.