enable scrolling of panel content when there are many items

This commit is contained in:
Oleg Isonen committed 2022-12-08 18:32:35 +00:00
1 parent cfdecb6f73
commit be2a99acee
2 files changed
+4 -2

No files matched your search

@@ -72,6 +72,8 @@ export const SidebarLeft = ({ publish }: SidebarLeftProps) => {
dragAndDropState.isDragging && dragAndDropState.origin === "panel"
? "hidden"
: "visible",
display: "flex",
flexDirection: "column",
}}
>
<TabContent publish={publish} onSetActiveTab={setActiveTab} />
@@ -23,8 +23,7 @@ export const AssetsShell = ({
direction="column"
css={{
overflow: "hidden",
paddingTop: "$spacing$3",
paddingBottom: "$spacing$9",
py: "$spacing$5",
}}
>
<Flex
@@ -41,6 +40,7 @@ export const AssetsShell = ({
css={{
flexDirection: "column",
px: "$spacing$9",
overflow: "auto",
}}
>
{children}