mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 12:33:36 +09:00
enable scrolling of panel content when there are many items
This commit is contained in:
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}
|
||||
|
||||
Reference in new issue
Block a user