django-s3direct
django-s3direct copied to clipboard
File inputs overlap with labels in multiple fields forms
When I implemented this amazing library it looked like this because of one thing!
Because the widget div isn't taking the full width.
The solution would be to add the following styles to the parent div
.s3direct {
display: block;
width: 100%;
margin-bottom: 1em; // Optional: to make it look less crumpled
}
And now it looks like this
I'm not sure if this is a problem for you, but hopefully, it helps someone.
Would make a pull request if you think it is worth it