diff --git a/CHANGELOG.md b/CHANGELOG.md index ad769bc..7e3908b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this package will be documented in this file. +## [5.2.2](https://github.com/Okipa/laravel-table/compare/5.2.1...5.2.2) + +2023-01-01 + +* Fixed filter reset button missing margin-top class for Bootstrap 4 & 5 templates + ## [5.2.1](https://github.com/Okipa/laravel-table/compare/5.2.0...5.2.1) 2022-11-14 diff --git a/resources/views/bootstrap-4/table.blade.php b/resources/views/bootstrap-4/table.blade.php index 0b58694..07ecf36 100644 --- a/resources/views/bootstrap-4/table.blade.php +++ b/resources/views/bootstrap-4/table.blade.php @@ -28,7 +28,7 @@ @endforeach @if(collect($this->selectedFilters)->filter(fn(mixed $filter) => isset($filter) && $filter !== '' && $filter !== [])->isNotEmpty()) {!! config('laravel-table.icon.reset') !!} diff --git a/resources/views/bootstrap-5/table.blade.php b/resources/views/bootstrap-5/table.blade.php index 560d0e1..90a9524 100644 --- a/resources/views/bootstrap-5/table.blade.php +++ b/resources/views/bootstrap-5/table.blade.php @@ -28,7 +28,7 @@ @endforeach @if(collect($this->selectedFilters)->filter(fn(mixed $filter) => isset($filter) && $filter !== '' && $filter !== [])->isNotEmpty()) {!! config('laravel-table.icon.reset') !!} diff --git a/tests/Unit/Bootstrap4/TableFiltersTest.php b/tests/Unit/Bootstrap4/TableFiltersTest.php index 48dbc1b..265d892 100644 --- a/tests/Unit/Bootstrap4/TableFiltersTest.php +++ b/tests/Unit/Bootstrap4/TableFiltersTest.php @@ -287,7 +287,7 @@ protected function columns(): array '
', '
', '', 'reset-icon', @@ -298,7 +298,7 @@ protected function columns(): array '
', '