Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
Upon inspecting the form at 11.4. Sortable Collections with Siblings, it seems there is some CSS which I couldn't find in my installed django-formset version: django-form-collection[sibling-position] {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
django-form-collection[sibling-position]:not(:last-of-type) {
border-bottom: 1px dashed rgb(206, 212, 218);
}
django-form-collection[sibling-position] > .remove-collection {
top: 0.25rem;
}
django-form-collection[sibling-position] > .collection-drag-handle ~ .remove-collection {
top: 0.375rem;
} If I manually add these CSS rules to either |
Beta Was this translation helpful? Give feedback.
-
Hi all! The form collection feature is exactly what I need, and I've started implementing it for my project by firstly trying to get the basic ContactCollection CollectionForm from the documentation working:
The result is:
As you can see, the delete button is not aligned well, and the dotted-line separators between each phone number are missing.
These are my JavaScript and Stylesheet imports:
I've been trying to figure this out for a good while now, and would really appreciate any hints on what the issue may be.
Beta Was this translation helpful? Give feedback.
All reactions