Problem/Motivation
This issue came up in #3039829-41: Remove link to media item from media library view.. The views UI module contains the following code in views_ui.admin.theme.css:
/* The div.views-row is intentional and excludes li.views-row, for example */
.views-live-preview div.views-row + div.views-row {
margin-top: 36px;
}
When showing a live preview of the media library view, this leads to the following preview:

Proposed resolution
Check why the margin top is actually there and if this code is really needed in the views preview.
Remove the CSS from views UI if possible.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| margin-top-issue.png | 648.37 KB | seanb |
Comments
Comment #2
seanbComment #7
quietone commentedThis is a duplicate of #2272533: Excessive margin-top in Views live preview
Therefore, closing as a duplicate. If that is wrong, reopen the issue, by setting the status to 'Active', and add a comment.
Comment #8
quietone commentedComment #9
quietone commentedOh, dear forgot to change the status twice.