diff --git a/blazy.services.yml b/blazy.services.yml
index 34bc031..df27a7c 100644
--- a/blazy.services.yml
+++ b/blazy.services.yml
@@ -29,7 +29,7 @@ services:
   blazy.admin.base:
     abstract: true
     class: Drupal\blazy\Form\BlazyAdminBase
-    arguments: ['@entity_display.repository', '@config.typed', '@date.formatter', '@blazy.manager']
+    arguments: ['@entity_display.repository', '@config.typed', '@date.formatter', '@blazy.manager', '@current_route_match']
 
   blazy.admin.formatter:
     class: Drupal\blazy\Form\BlazyAdminFormatter
diff --git a/src/Form/BlazyAdminBase.php b/src/Form/BlazyAdminBase.php
index fcfd8be..915716f 100644
--- a/src/Form/BlazyAdminBase.php
+++ b/src/Form/BlazyAdminBase.php
@@ -14,6 +14,7 @@ use Drupal\Component\Utility\Unicode;
 use Symfony\Component\DependencyInjection\ContainerInterface;
 use Drupal\blazy\BlazyDefault;
 use Drupal\blazy\BlazyManagerInterface;
+use Drupal\Core\Routing\RouteMatchInterface;
 
 /**
  * A base for blazy admin integration to have re-usable methods in one place.
@@ -85,6 +86,13 @@ abstract class BlazyAdminBase implements BlazyAdminInterface {
    */
   protected $blazyManager;
 
+  /**
+   * The current route match.
+   *
+   * @var \Drupal\Core\Routing\RouteMatchInterface
+   */
+  protected $routeMatch;
+
   /**
    * Constructs a BlazyAdminBase object.
    *
@@ -96,19 +104,22 @@ abstract class BlazyAdminBase implements BlazyAdminInterface {
    *   The date formatter service.
    * @param \Drupal\slick\BlazyManagerInterface $blazy_manager
    *   The blazy manager service.
+   * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
+   *   The route match service.
    */
-  public function __construct(EntityDisplayRepositoryInterface $entity_display_repository, TypedConfigManagerInterface $typed_config, DateFormatterInterface $date_formatter, BlazyManagerInterface $blazy_manager) {
+  public function __construct(EntityDisplayRepositoryInterface $entity_display_repository, TypedConfigManagerInterface $typed_config, DateFormatterInterface $date_formatter, BlazyManagerInterface $blazy_manager, RouteMatchInterface $route_match) {
     $this->entityDisplayRepository = $entity_display_repository;
     $this->typedConfig             = $typed_config;
     $this->dateFormatter           = $date_formatter;
     $this->blazyManager            = $blazy_manager;
+    $this->routeMatch              = $route_match;
   }
 
   /**
    * {@inheritdoc}
    */
   public static function create(ContainerInterface $container) {
-    return new static($container->get('entity_display.repository'), $container->get('config.typed'), $container->get('date.formatter'), $container->get('blazy.manager'));
+    return new static($container->get('entity_display.repository'), $container->get('config.typed'), $container->get('date.formatter'), $container->get('blazy.manager'), $container->get('current_route_match'));
   }
 
   /**
@@ -611,7 +622,12 @@ abstract class BlazyAdminBase implements BlazyAdminInterface {
     }
 
     if ($admin_css) {
-      $form['closing']['#attached']['library'][] = 'blazy/admin';
+      $route_name = $this->routeMatch->getRouteName();
+      $isLayoutBuilder = str_starts_with($route_name, "layout_builder.");
+
+      if (!$isLayoutBuilder) {
+        $form['closing']['#attached']['library'][] = 'blazy/admin';
+      }
     }
 
     $this->blazyManager->getModuleHandler()->alter('blazy_complete_form_element', $form, $definition);
