Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292738

Add a Media library views template to Seven theme to add wrapper around the grid rows

$
0
0

Problem/Motivation

This is a follow up of #3037767: Improve responsive styling of grid items in the media library. From comment 15.2:

I think we could ideally add a wrapper around the grid rows and we could apply the negative margin there.

At the moment the views bulk form on admin/content/media and the selection form in the media library modal contain a negative margin on the form to provide a fixed gutter for the flexbox items. Since the views rows are not the only elements in the form, we need to reset the negative margin for other element.

Proposed resolution

Add a views template to Seven to add a wrapper around views rows.

Remaining tasks

Create a patch and have it ready to be committed when the media library is marked stable.

User interface changes

No visual changes, just the DOM and CSS should change.

API changes

None.

Data model changes

None.

Release notes snippet


Viewing all articles
Browse latest Browse all 292738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>