diff --git a/apps/studio/components/layouts/ExplorerLayout/ExplorerNavHome.tsx b/apps/studio/components/layouts/ExplorerLayout/ExplorerNavHome.tsx index d0f78e92216..d0a66e47622 100644 --- a/apps/studio/components/layouts/ExplorerLayout/ExplorerNavHome.tsx +++ b/apps/studio/components/layouts/ExplorerLayout/ExplorerNavHome.tsx @@ -1,6 +1,6 @@ import { useParams } from 'common' import { motion } from 'framer-motion' -import { ChevronRight, Plus, SquareCode } from 'lucide-react' +import { ChevronRight, Plus, Settings, SquareCode } from 'lucide-react' import Link from 'next/link' import { ShimmeringLoader } from 'ui-patterns/ShimmeringLoader' @@ -50,90 +50,99 @@ export const ExplorerNavHome = ({ animate={{ opacity: 1, x: 0 }} exit={{ opacity: 0, x: -LEVEL_OFFSET }} transition={LEVEL_TRANSITION} - className="absolute inset-0 flex flex-col gap-4 overflow-y-auto p-3" + className="absolute inset-0 flex flex-col overflow-hidden" > - - -
-

- Recently updated -

- {recentItems.length === 0 ? ( -

Nothing edited yet

- ) : ( - recentItems.map((item) => { - const Icon = EXPLORER_SECTIONS.find((section) => section.type === item.type)?.icon - const content = ( - <> - {Icon &&
+ })} + + +
+

+ Recently updated +

+ {recentItems.length === 0 ? ( +

Nothing edited yet

+ ) : ( + recentItems.map((item) => { + const Icon = EXPLORER_SECTIONS.find((section) => section.type === item.type)?.icon + const content = ( + <> + {Icon &&
+ + +
+ + + Preferences + +
) }