refactoring

This commit is contained in:
Burak Civan
2022-09-09 10:45:16 +03:00
parent ad9b6928f2
commit 353213860d
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
$first_attributes = $first->attributes;
if ((! $first->attributes->has('override')) || ($first->attributes->has('override') && ! in_array('class', explode(',', $first->attributes->get('override'))))) {
$first_attributes = $first->attributes->merge(['class' => 'font-bold truncate']);
$first_attributes = $first->attributes->merge(['class' => 'font-medium truncate']);
}
@endphp
<div {{ $first_attributes }}>