Skip to content
Snippets Groups Projects
Verified Commit ab9823e4 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3515093 by sandip, catch, smustgrave: Olivero table.css should be in...

Issue #3515093 by sandip, catch, smustgrave: Olivero table.css should be in its own library and #attached to tables
parent 5e22a55c
Branches
Tags
1 merge request!3478Issue #3337882: Deleted menus are not removed from content type config
Pipeline #494758 passed with warnings
Pipeline: drupal

#494761

    ......@@ -45,7 +45,6 @@ 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: {}
    ......@@ -291,3 +290,18 @@ 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
    ......@@ -617,6 +617,15 @@ 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';
    }
    /**
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment