Commit dc12bed4 authored by Théodore Biadala's avatar Théodore Biadala Committed by catch
Browse files

Revert "Issue #3515093 by sandip, catch, smustgrave: Olivero table.css should...

Revert "Issue #3515093 by sandip, catch, smustgrave: Olivero table.css should be in its own library and #attached to tables"

This reverts commit ab9823e4.

(cherry picked from commit cfd4c18d)
parent d5a57be0
Loading
Loading
Loading
Loading
Loading
+1 −15
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ global-styling:
      css/components/site-header.css: {}
      css/components/skip-link.css: {}
      css/components/pager.css: {}
      css/components/table.css: {}
      css/components/text-content.css: {}
      css/components/wide-content.css: {}

@@ -290,18 +291,3 @@ tags:
  css:
    theme:
      css/components/tags.css: {}

olivero.table:
  version: VERSION
  css:
    component:
      css/components/table.css: {}
  moved_files:
    olivero/global-styling:
      deprecation_version: 11.2.0
      removed_version: 12.0.0
      deprecation_link: https://www.drupal.org/node/3517675
      css:
        component:
          css/components/table.css:
            base: css/components/table.css
+0 −9
Original line number Diff line number Diff line
@@ -617,15 +617,6 @@ function olivero_preprocess_table(&$variables): void {
      }
    }
  }

  $variables['#attached']['library'][] = 'olivero/olivero.table';
}

/**
 * Implements hook_preprocess_HOOK() for views-view-table templates.
 */
function olivero_preprocess_views_view_table(&$variables): void {
  $variables['#attached']['library'][] = 'olivero/olivero.table';
}

/**