Browse Source

added islandora.libraries.yml

pull/905/head
shriram 2 years ago
parent
commit
9b58fc9ecb
  1. 3
      css/islandora.theme.css
  2. 5
      islandora.libraries.yml
  3. 4
      islandora.module

3
css/islandora.theme.css

@ -0,0 +1,3 @@
.container .islandora-media-items {
margin: 0;
}

5
islandora.libraries.yml

@ -0,0 +1,5 @@
drupal.islandora.theme_css:
version: VERSION
css:
theme:
css/islandora.theme.css: {}

4
islandora.module

@ -357,8 +357,8 @@ function islandora_form_alter(&$form, FormStateInterface $form_state, $form_id)
'#theme' => 'item_list', '#theme' => 'item_list',
'#type' => 'ul', '#type' => 'ul',
'#items' => $media_list, '#items' => $media_list,
'#attributes' => ['class' => 'mylist'], '#attributes' => ['class' => ['islandora-media-items']],
'#wrapper_attributes' => ['class' => 'container'], '#wrapper_attributes' => ['class' => ['container']],
'#attached' => [ '#attached' => [
'library' => [ 'library' => [
'islandora/drupal.islandora.theme_css', 'islandora/drupal.islandora.theme_css',

Loading…
Cancel
Save