Add padding between id-tag field items.

This commit is contained in:
paul121 2021-06-04 10:33:49 -07:00 committed by Michael Stenta
parent 68a06cbf01
commit 0809f644d4
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,4 @@
/* Add padding between id-tag field items. */
.field--type-id-tag .field__item:not(:last-child) {
padding-bottom: 1em;
}

View File

@ -0,0 +1,4 @@
id_tag_field:
css:
theme:
css/id_tag_field.css: { }

View File

@ -99,6 +99,7 @@ class IdTagFormatter extends FormatterBase {
}
}
$elements['#attached']['library'][] = 'farm_id_tag/id_tag_field';
return $elements;
}