From 66b185c1fc870bbd8a2c13a152da920b9da62c77 Mon Sep 17 00:00:00 2001
From: Stefan Galinski <stefan@sgalinski.de>
Date: Fri, 15 Sep 2017 13:32:40 +0200
Subject: [PATCH] [BUGFIX] Fix the fullscreen dialog

---
 Classes/Form/Element/RichTextElement.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Classes/Form/Element/RichTextElement.php b/Classes/Form/Element/RichTextElement.php
index 64d8c16..c6527ae 100644
--- a/Classes/Form/Element/RichTextElement.php
+++ b/Classes/Form/Element/RichTextElement.php
@@ -351,7 +351,8 @@ class RichTextElement extends AbstractFormElement {
 
 		$result = array();
 		// next line is required to fix the scrolling toolbar elements in the tinymce
-		$result[] = '<style>body{position:relative;}</style>';
+		// also fixes the fullscreen dialog
+		$result[] = '<style>body{position:relative;}.mce-fullscreen{top: 65px;}</style>';
 
 		// The hidden field tells the DataHandler that processing should be done on this value.
 		$result[] = '<input type="hidden" name="' . htmlspecialchars($triggerFieldName) . '" value="RTE" />';
-- 
GitLab