Skip to content

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

@paulijar

Description

@paulijar

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions