fixed show page vendor image styling..
This commit is contained in:
parent
acf002f35d
commit
3c015fcc54
@ -8,9 +8,9 @@
|
|||||||
<x-slot name="avatar">
|
<x-slot name="avatar">
|
||||||
@if ($contact->logo)
|
@if ($contact->logo)
|
||||||
@if (is_object($contact->logo))
|
@if (is_object($contact->logo))
|
||||||
<img src="{{ Storage::url($contact->logo->id) }}" class="absolute w-12 h-12 rounded-full mr-2 hidden lg:block" alt="{{ $contact->name }}" title="{{ $contact->name }}">
|
<img src="{{ Storage::url($contact->logo->id) }}" class="absolute w-12 h-12 rounded-full hidden lg:block" alt="{{ $contact->name }}" title="{{ $contact->name }}">
|
||||||
@else
|
@else
|
||||||
<img src="{{ asset('public/img/user.svg') }}" class="absolute w-12 h-12 rounded-full mr-2 hidden lg:block" alt="{{ $contact->name }}"/>
|
<img src="{{ asset('public/img/user.svg') }}" class="absolute w-12 h-12 rounded-full hidden lg:block" alt="{{ $contact->name }}"/>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
{{ $contact->initials }}
|
{{ $contact->initials }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user