css fix on notes tab

This commit is contained in:
Kwesi Banson Jnr
2026-08-08 21:01:19 +00:00
parent 6cce100e62
commit fc89b9c068

View File

@@ -343,27 +343,28 @@
<i class="bi bi-plus-lg"></i> Add Note <i class="bi bi-plus-lg"></i> Add Note
</button> </button>
</div> </div>
<div class="notes-container pe-2" style="max-height: 450px; overflow-y: auto;">
<div class="list-group"> <div class="list-group">
@forelse($show_notes as $note) @forelse($show_notes as $note)
<div class="list-group-item p-3 mb-2 border rounded shadow-sm"> <div class="list-group-item p-3 mb-2 border rounded shadow-sm">
<p class="mb-2 text-dark">{{ $note->notes_body }}</p> <p class="mb-2 text-dark">{{ $note->notes_body }}</p>
<div class="d-flex justify-content-between align-items-center text-muted" style="font-size: 0.8rem;"> <div class="d-flex justify-content-between align-items-center text-muted" style="font-size: 0.8rem;">
<span> <span>
<i class="bi bi-person-fill me-1 text-primary"></i> <i class="bi bi-person-fill me-1 text-primary"></i>
<strong class="text-secondary">{{ $note->created_by_info->name ?? 'System User' }}</strong> <strong class="text-secondary">{{ $note->created_by_info->name ?? 'System User' }}</strong>
</span> </span>
<span> <span>
<i class="bi bi-clock me-1"></i> <i class="bi bi-clock me-1"></i>
{{ $note->created_at->format('d M Y, h:i A') }} {{ $note->created_at->format('d M Y, h:i A') }}
</span> </span>
</div>
</div> </div>
</div> @empty
@empty <div class="text-center py-4 text-muted small">
<div class="text-center py-4 text-muted small"> <i class="bi bi-chat-square-text fs-4 d-block mb-1"></i> No notes added for this client yet.
<i class="bi bi-chat-square-text fs-4 d-block mb-1"></i> No notes added for this client yet. </div>
</div> @endforelse
@endforelse </div>
</div> </div>
</div> </div>
<!-- TAB 1: SHORT CODES --> <!-- TAB 1: SHORT CODES -->