club.message date sort, and overflow-y auto;

on messages list
This commit is contained in:
Jérémy Munsch 2021-05-12 08:05:30 +02:00
parent d2697428dc
commit eb38dc5b33
2 changed files with 2 additions and 1 deletions

View file

@ -52,7 +52,7 @@ class Customers extends Authenticatable
$dateSort = function ($a, $b) {
return Carbon::parse(
$a->getRawOriginal('created_at')
)->timestamp < Carbon::parse($b->getRawOriginal('created_at'))->timestamp;
)->timestamp > Carbon::parse($b->getRawOriginal('created_at'))->timestamp;
};
$messageFilter = function ($item) {
return $item->all();

View file

@ -28,6 +28,7 @@
width: 295px;
}
.scroll-bloc {
overflow-y: auto;
height: 450px;
@include min-width($tablet) {
width: 295px !important;