Fixed scrolling on expanded view.

This commit is contained in:
Mike Cao 2025-08-08 17:39:17 -07:00
parent 4e25c07160
commit 8897c2508d
4 changed files with 30 additions and 27 deletions

View file

@ -133,7 +133,7 @@ export function WebsiteExpandedView({
const DetailsComponent = views[view] || (() => null);
return (
<Grid columns="auto 1fr" gap="6" height="100%">
<Grid columns="auto 1fr" gap="6" height="100%" overflow="hidden">
<Column gap="6" width="200px" border="right" paddingRight="3">
<NavMenu position="sticky" top="0">
{items.map(({ id, label, path }) => {
@ -145,7 +145,7 @@ export function WebsiteExpandedView({
})}
</NavMenu>
</Column>
<Column>
<Column overflow="hidden">
<DetailsComponent
websiteId={websiteId}
animate={false}