-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Unable to reduce height of dashboard to less than 400px #1127
Comments
I've noticed that the minimum height is hard set to
After playing around it seems that reducing this to |
Set this to mobile only for now: 14135f5 |
I'm having a similar issue with the Uppy react component. It has a min-height property set to 450px in the uppy-Dashboard-inner class so you cannot set it below that. I'm guessing this only needs to be toggled off when when the Dashboard react component receives a height property. |
Still unable to reduce the height on uppy/react Dashboard |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
What is the latest status on this? I have the react/dashbord and I cannot reduce its size… The whole component does not behave "responsive" for me. Did I miss something in the docs about how to use it? edit: <Dashboard uppy={uppy} width='100%' /> The height is still an issue, but at least its not too wide right now. |
Is there any update regarding this? Also I don't know why, but the Dashboard component seams to wrap all it's content into a div, which doesn't even have a class so it would also be kind of hard to target this with css selectors. |
Encountering the same issue as @natschz |
Same here, Unable to reduce height less than |
.uppy-Dashboard .uppy-Dashboard-inner { |
hmmm is there no way to make the dashboard responsive? |
add this to your global css file. This will unset any min-height and make it expand to the full height of any container you use the component. I notice the issue many are having happens depending on what other css rules you have or other libraries. Example there is a conflict with Uppy and Material UI however the solution below addressed my issues with many of the sites I build using Uppy. It would be nice if the Uppy Team would give us a prop to handle this
|
I'm trying to reduce the height of the Uppy Dashboard plugin to be
200px
to increase screen real estate. I've restricted the control to a single file upload so there is no need for all the extra space in the panel.Using the
height
andmaxHeight
options the smallest I'm able to get the dashboard is400px
height:My configuration is as follows:
How can I further reduce the height so it matches a single row of file icons?
The text was updated successfully, but these errors were encountered: