fix(ui): responsive mobile — full phone/tablet adaptation across all components
Surgical CSS/className-only changes, zero behavior impact. 155/155 tests green. - Dialog: tighter mobile padding (p-3/px-4), reduced max-height to 85vh - Button: sm size h-8→h-9 (36px touch target), responsive text sizing - VertebraPicker: 44px min-height touch targets on mobile region tabs - SVG editor: sidebar stacks below canvas <768px, full-width mobile, zoom controls 40px, canvas min-height 40vh - AnatomyCanvas: SVG child constrained to fit container - EditorRoute: responsive gap/padding, canvas max-h-[55vh] on mobile - ObservationList + ConclusionPanel: responsive section heading typography Target: 375px+ (iPhone SE) usable, 768px+ (iPad) polished, desktop no regressions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
1f30280762
commit
a73d8da263
10 files changed
+909
-19
No files matched your search
@@ -113,7 +113,7 @@ export default function AnatomyCanvas({
|
||||
ref={wrapperRef}
|
||||
className={`svg-canvas relative w-full h-full ${className}`}
|
||||
>
|
||||
<div ref={svgRef} className="w-full h-full" />
|
||||
<div ref={svgRef} className="w-full h-full [&>svg]:max-w-full [&>svg]:max-h-full [&>svg]:mx-auto" />
|
||||
<div
|
||||
ref={tooltipRef}
|
||||
className="zone-tooltip"
|
||||
|
||||
Reference in new issue
Block a user