diff --git a/docroot/modules/custom/va_gov_backend/va_gov_backend.libraries.yml b/docroot/modules/custom/va_gov_backend/va_gov_backend.libraries.yml index de20a57e4b..86d5b9de8d 100644 --- a/docroot/modules/custom/va_gov_backend/va_gov_backend.libraries.yml +++ b/docroot/modules/custom/va_gov_backend/va_gov_backend.libraries.yml @@ -4,6 +4,11 @@ alert_form: js/script.js: {} dependencies: - core/jquery +admin_styles: + version: 1.x + css: + component: + css/admin_style.css: {} gtm_tag_push: version: 1.x js: @@ -12,11 +17,6 @@ gtm_tag_trackers: version: 1.x js: js/gtm_tag_trackers.js: {} -admin_styles: - version: 1.x - css: - component: - css/admin_style.css: {} system_styles: version: 1.x css: diff --git a/docroot/modules/custom/va_gov_backend/va_gov_backend.module b/docroot/modules/custom/va_gov_backend/va_gov_backend.module index 78531efb7f..a7483e82c0 100644 --- a/docroot/modules/custom/va_gov_backend/va_gov_backend.module +++ b/docroot/modules/custom/va_gov_backend/va_gov_backend.module @@ -313,6 +313,7 @@ function va_gov_backend_page_attachments(array &$attachments) { $attachments['#attached']['drupalSettings']['gtm_data'] = _va_gov_backend_gtm_settings(); $attachments['#attached']['library'][] = 'va_gov_backend/alert_form'; + $attachments['#attached']['library'][] = 'va_gov_backend/system_styles'; $is_admin = \Drupal::service('router.admin_context')->isAdminRoute(); if ($is_admin) { // Add custom css for paragraph browser.