mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage
synced 2026-05-18 20:08:19 +00:00
fix: preview table scrolling — proper flex constraints for table body scroll
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -304,7 +304,7 @@ export const LeadImportWizard = ({ isOpen, onOpenChange }: LeadImportWizardProps
|
||||
|
||||
{/* Step 3: Preview Table */}
|
||||
{step === 'preview' && (
|
||||
<div className="flex flex-1 flex-col min-h-0 overflow-hidden">
|
||||
<div className="flex flex-1 flex-col min-h-0">
|
||||
{/* Summary bar */}
|
||||
<div className="flex shrink-0 items-center gap-4 px-6 py-2 border-b border-secondary text-xs text-tertiary">
|
||||
<span>{rowsWithMatch.length} rows</span>
|
||||
@@ -314,8 +314,8 @@ export const LeadImportWizard = ({ isOpen, onOpenChange }: LeadImportWizardProps
|
||||
{noPhoneCount > 0 && <span className="text-error-primary">{noPhoneCount} no phone</span>}
|
||||
</div>
|
||||
|
||||
{/* Table — fills remaining space, scrolls internally */}
|
||||
<div className="flex-1 min-h-0 overflow-hidden px-4 pt-2">
|
||||
{/* Table — fills remaining space, body scrolls */}
|
||||
<div className="flex-1 min-h-0 overflow-auto px-4 pt-2">
|
||||
<DynamicTable<DynamicRow>
|
||||
columns={[
|
||||
...mapping.filter(m => m.leadField).map(m => ({
|
||||
|
||||
Reference in New Issue
Block a user