Skip to content

Commit

Permalink
fix: scrollable sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Jul 24, 2024
1 parent 7a92191 commit 90edd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/layouts/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default function AppLayout() {
<div className="font-sans min-h-screen w-full flex flex-col">
<div className="flex-1 h-full grid md:grid-cols-[220px_1fr] lg:grid-cols-[280px_1fr]">
<div className="hidden border-r bg-muted/40 md:block">
<div className="flex h-full max-h-screen flex-col gap-2 sticky top-0">
<div className="flex h-full max-h-screen flex-col gap-2 sticky top-0 overflow-y-auto">
<div className="flex-1">
<nav className="grid items-start px-2 py-2 text-sm font-medium lg:px-4">
<div className="p-3 flex justify-between items-center">
Expand Down

0 comments on commit 90edd72

Please sign in to comment.