[FOLLOWUP][BUGFIX] Preview information should not conflict with frontend layout
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Classes / Hooks / FrontendHooks.php
index 5669398..ef8025e 100644 (file)
@@ -51,7 +51,7 @@ class FrontendHooks
             $styles[] = 'pointer-events:none';
             $styles[] = 'text-align: center';
             $styles[] = 'border-radius: 2px';
-            $message = '<div id="typo3-preview-info" style="' . implode($styles, ';') . '">PREVIEW</div>';
+            $message = '<div id="typo3-preview-info" style="' . implode(';', $styles) . '">PREVIEW</div>';
         }
         return $message;
     }