Skip to content

Commit

Permalink
added islandora.libraries.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shriram10567 committed Nov 10, 2022
1 parent ef1f36f commit 11ced3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions css/islandora.theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.container .islandora-media-items {
margin: 0;
}
5 changes: 5 additions & 0 deletions islandora.libraries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
drupal.islandora.theme_css:
version: VERSION
css:
theme:
css/islandora.theme.css: {}
2 changes: 1 addition & 1 deletion islandora.module
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ function islandora_form_alter(&$form, FormStateInterface $form_state, $form_id)
'#theme' => 'item_list',
'#type' => 'ul',
'#items' => $media_list,
'#attributes' => ['class' => 'mylist'],
'#attributes' => ['class' => 'islandora-media-items'],
'#wrapper_attributes' => ['class' => 'container'],
'#attached' => [
'library' => [
Expand Down

0 comments on commit 11ced3d

Please sign in to comment.