BEM class names for filter-buttons

This commit is contained in:
Bernard Hamlin 2017-04-21 15:30:09 +12:00 committed by Damian Mooyman
parent 21f2da4962
commit fa86f42ab9
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A
2 changed files with 3 additions and 3 deletions

View File

@ -221,7 +221,7 @@ class GridFieldFilterHeader implements GridField_HTMLProvider, GridField_DataMan
->setAttribute('title', _t('SilverStripe\\Forms\\GridField\\GridField.ResetFilter', "Reset"))
->setAttribute('id', 'action_reset_' . $gridField->getModelClass() . '_' . $columnField)
);
$fields->addExtraClass('filter-buttons');
$fields->addExtraClass('grid-field__filter-buttons');
$fields->addExtraClass('no-change-track');
}

View File

@ -1,5 +1,5 @@
<% if Fields %>
<tr class="filter-header" style="display:none;">
<% if $Fields %>
<tr class="grid-field__filter-header" style="display:none;">
<% loop $Fields %>
<th class="extra">$Field</th>
<% end_loop %>