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

[Feature] Increase Drop area #1024

Open
1 task done
AMPZart opened this issue Nov 25, 2024 · 2 comments
Open
1 task done

[Feature] Increase Drop area #1024

AMPZart opened this issue Nov 25, 2024 · 2 comments

Comments

@AMPZart
Copy link

AMPZart commented Nov 25, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

Is there a solution to increase the height of the drop area?
The question was raised on Stackoverflow...
https://stackoverflow.com/questions/56813374/how-to-increase-dimensions-of-filepond-drop-area-in-react-js
But I also notice that by increasing the size in the css :

.filepond--root,
.filepond--root .filepond--drop-label {
  height: 200px;
}

the area no longer displays the downloaded images.
Thanks

Describe the solution you'd like

The area is too small for my page

Describe alternatives you've considered

A size of at least 200px would be suitable

@rikschennink
Copy link
Collaborator

if you set the height the drop area will be larger, but it will also not grow with content.

You can however use min-height: 200px; and then set a background color on the .filepond--root itself.

See: https://stackblitz.com/edit/github-dca26j?file=index.html

@AMPZart
Copy link
Author

AMPZart commented Nov 27, 2024

Great !
Thanks

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

2 participants