mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Add padding between id-tag field items.
This commit is contained in:
parent
68a06cbf01
commit
0809f644d4
3 changed files with 9 additions and 0 deletions
4
modules/core/id_tag/css/id_tag_field.css
Normal file
4
modules/core/id_tag/css/id_tag_field.css
Normal file
|
@ -0,0 +1,4 @@
|
|||
/* Add padding between id-tag field items. */
|
||||
.field--type-id-tag .field__item:not(:last-child) {
|
||||
padding-bottom: 1em;
|
||||
}
|
4
modules/core/id_tag/farm_id_tag.libraries.yml
Normal file
4
modules/core/id_tag/farm_id_tag.libraries.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
id_tag_field:
|
||||
css:
|
||||
theme:
|
||||
css/id_tag_field.css: { }
|
|
@ -99,6 +99,7 @@ class IdTagFormatter extends FormatterBase {
|
|||
}
|
||||
}
|
||||
|
||||
$elements['#attached']['library'][] = 'farm_id_tag/id_tag_field';
|
||||
return $elements;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue