Problem/Motivation
By default the view settings class is applied globally, while it would be more useful if it were applied only to the container of the rows.
I realize this is a change to the default behavior of views, so it's just a proposal.
Proposed resolution
In views-view.html.twig from
<div{{ attributes.addClass(classes) }}>
...
{% if rows %}
<div class="view-content">
{{ rows }}
</div>to
<div{{ attributes.addClass(classes).removeClass(css_class|split(' ')) }}>
...
{% if rows %}
<div class="{{ css_class }}">
{{ rows }}
</div>
Comments
Comment #2
maurizio_akabit commentedComment #3
arturopanettaComment #4
arturopanettaComment #6
arturopanettaComment #7
arturopanetta