Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File inputs overlap with labels in multiple fields forms #220

Open
ABODFTW opened this issue Dec 18, 2020 · 0 comments
Open

File inputs overlap with labels in multiple fields forms #220

ABODFTW opened this issue Dec 18, 2020 · 0 comments

Comments

@ABODFTW
Copy link

ABODFTW commented Dec 18, 2020

When I implemented this amazing library it looked like this because of one thing!
image

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
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant