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

Empty "Recommend files" dashboard widget distorts the layout of all widgets #816

Open
paulijar opened this issue Nov 1, 2024 · 0 comments
Labels
0. Needs triage bug Something isn't working

Comments

@paulijar
Copy link

paulijar commented Nov 1, 2024

When the dashboard contains the "Recommend files" widget and there are no contents in the widget, all dashboard widgets become taller than they should. This may look ugly on some widgets as there are unexpected margins.

Here is the problem case:
Image

The same with dimensions shown:
Image

The problem goes away when the "Recommended files" gets any content (or is removed from the dashboard):
Image

The same with dimensions shown:
Image

The culprit seems to be the margin-top on the "No recommendations yet" label which affects the height of the entire widget. And somehow, this propagates to the other widgets, too.

I have seen this problem on Nextcloud 30.0.0 and 30.0.2-rc1 but not on 29.0.0-rc5.

@paulijar paulijar added 0. Needs triage bug Something isn't working labels Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant