@extends('student.layouts.app') @section('content') {{-- ✅ MAIN CONTAINER: Changed pb-40 to pb-36 to remove the big gap above the reply box --}}
{{ $homework->subject_name ?? 'General' }}
{{-- ✅ REMOVED line-clamp-2 so full message is visible in header if short, or scrolls if long --}}{{ $homework->message }}
@php $attachments = json_decode($homework->attachment ?? '[]', true) ?? []; @endphp @if(!empty($attachments)) @endif{{ $reply->message }}
@if($reply->attachment) View Attachment @endif{{ \Carbon\Carbon::parse($reply->created_at)->format('h:i A') }}
No replies yet. Start the conversation below.
@endforelse