fix! скорректирован стиль табов для контактов

This commit is contained in:
developer 2026-04-16 11:40:34 +08:00
parent c0932cd0df
commit 5cd07bfa90

View File

@ -32,12 +32,16 @@ class="nav-item col overflow-hidden @if ($contactIndex == $currentContactIndex)
<a class="nav-link d-flex flex-row me-1 border-0 @if ($contactIndex == $currentContactIndex) active text-primary @else py-1 text-dark @endif" <a class="nav-link d-flex flex-row me-1 border-0 @if ($contactIndex == $currentContactIndex) active text-primary @else py-1 text-dark @endif"
aria-current="page" href="#" wire:click="setCurrentContactIndex({{ $contactIndex }})"> aria-current="page" href="#" wire:click="setCurrentContactIndex({{ $contactIndex }})">
<i class="bi bi-person-standing"></i> <i class="bi bi-person-standing"></i>
<span class="d-none d-xl-inline text-truncate"> <span class="d-inline text-truncate">
@if($contactItem['firstName'])
{{ $contactItem['firstName'] }}
@else
@if (array_key_exists($contactIndex, $contactLabels)) @if (array_key_exists($contactIndex, $contactLabels))
{{ $contactLabels[$contactIndex] }} {{ $contactLabels[$contactIndex] }}
@else @else
Контакт {{ $contactIndex + 1 }} Контакт {{ $contactIndex + 1 }}
@endif @endif
@endif
</span> </span>
</a> </a>
</li> </li>