recommendations icon indicating copy to clipboard operation
recommendations copied to clipboard

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

Open paulijar opened this issue 1 year ago • 0 comments

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 avatar Nov 01 '24 20:11 paulijar