fix: make patient detail page full-width to match tauri FilesServices
Removed the maxWidth:1060 centered wrapper on PatientDetailPage that boxed the page; tauri's FilesServices renders full-width in a plain Box. Added a regression test asserting the root wrapper has no max-width cap. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -115,7 +115,7 @@ export default function PatientDetailPage() {
|
||||
});
|
||||
|
||||
return (
|
||||
<div className="fade-in" style={{ maxWidth: 1060, margin: '0 auto' }}>
|
||||
<div className="fade-in">
|
||||
{/* breadcrumb + patient banner (tauri BreadcrumbHeader + FileServicesHeader) */}
|
||||
<Breadcrumb name={record?.user_name || 'پرونده'} backTo="/admin/patients" />
|
||||
<PatientCaseBanner
|
||||
|
||||
Reference in New Issue
Block a user