Displaying two form fields side by side in the drupal backend.
Works for paragraphs, too.
Form display configuration:
Field group: HTML element (Element: div, Extra CSS classes: form-fields-oneline) + Field 1 + Field 2
Keywords: inline
1 2 3 4 5 6 7 8 9 | .form-fields-oneline { display: flex; flex-wrap: wrap; } .form-fields-oneline .form-item { margin-right: 15px; } |