Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / _field / widget-css.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/_field/widget-css.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/_field/widget-css.twig
new file mode 100644 (file)
index 0000000..558dd11
--- /dev/null
@@ -0,0 +1,13 @@
+{% set class = field_id|u2h ~ '-elements' %}
+{% if inline %}
+.container-inline.{{ class }} .form-item {
+  margin: 0 3px;
+}
+.container-inline.{{ class }} label {
+  display: block;
+}
+{% else %}
+tr.odd .{{ class }} .form-item {
+  margin-bottom: 8px;
+}
+{% endif %}