fix(mobile): hide duplicate detail-header title on mobile
The mobile topbar already shows the entity name pushed via useMobileChrome, so the gradient detail-header strip was rendering it a second time. Hides the inline h1 below sm: while keeping the source / email / phone meta and action buttons visible — the strip's practical content (actions + meta) stays where users need it, and the title responsibility moves cleanly to the topbar. Affects: clients, yachts, companies, berths detail headers. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -80,7 +80,9 @@ export function CompanyDetailHeader({ company }: CompanyDetailHeaderProps) {
|
||||
<div className="flex items-start gap-3 flex-wrap">
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="flex items-center gap-2 flex-wrap">
|
||||
<h1 className="text-2xl font-bold text-foreground truncate">{company.name}</h1>
|
||||
<h1 className="hidden sm:block text-2xl font-bold text-foreground truncate">
|
||||
{company.name}
|
||||
</h1>
|
||||
<span
|
||||
className={`inline-flex items-center rounded-full border px-3 py-1 text-xs font-medium ${statusColor}`}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user