club.message date sort, and overflow-y auto;
on messages list
This commit is contained in:
parent
d2697428dc
commit
eb38dc5b33
2 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
width: 295px;
|
||||
}
|
||||
.scroll-bloc {
|
||||
overflow-y: auto;
|
||||
height: 450px;
|
||||
@include min-width($tablet) {
|
||||
width: 295px !important;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue