Browse code

The wrapper css has to be loaded in frontend and backend

Benjamin Roth authored on05/05/2025 15:03:36
Showing1 changed files
... ...
@@ -27,8 +27,9 @@ class KernelRequestSubscriber implements EventSubscriberInterface
27 27
     {
28 28
         $request = $e->getRequest();
29 29
 
30
+        $GLOBALS['TL_CSS'][] = 'bundles/vonrotenbergcoretools/css/background-wrapper.min.css|static';
31
+
30 32
         if ($this->scopeMatcher->isBackendRequest($request)) {
31
-            $GLOBALS['TL_CSS'][] = 'bundles/vonrotenbergcoretools/css/background-wrapper.min.css|static';
32 33
             $GLOBALS['TL_CSS'][] = 'bundles/vonrotenbergcoretools/css/be_grid_position_widget.min.css|static';
33 34
             $GLOBALS['TL_JAVASCRIPT'][] = 'bundles/vonrotenbergcoretools/js/GridSelectionHandler.js|async';
34 35
         }