Dashboard: Fixes issue with dashboard inside get help drawer (#94725)

* Dashboard: Fixes issue with dashboard inside help help drawer

* Fix lint
This commit is contained in:
Torkel Ödegaard 2024-10-16 10:09:00 +02:00 committed by GitHub
parent 9dc2ccdbfd
commit 384562e1ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,11 +192,9 @@ export function HelpWizard({ panel, onClose }: Props) {
</Stack>
</Field>
<AutoSizer disableWidth>
{({ height }) => (
<div style={{ height, overflow: 'auto' }}>{scene && <scene.Component model={scene} />}</div>
)}
</AutoSizer>
<div style={{ height: '100%', overflow: 'auto', display: 'flex' }}>
{scene && <scene.Component model={scene} />}
</div>
</>
)}
</Drawer>