Skip to content

Commit

Permalink
#6 Add corrent overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tina-e committed Aug 18, 2022
1 parent 487a52f commit fafaf93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const Sidebar = () => {
const [sidebarOpen, setSidebarOpen] = useState<boolean>(true);

return (
<aside className="w-[400px] h-full shadow-lg p-4 divide-y-[1px] divide-lightGrey">
<aside className="w-[400px] h-full overflow-y-clip shadow-lg p-4 divide-y-[1px] divide-lightGrey">
<SidebarHeader setActiveSidebar={setActiveSidebar} />
{sidebars.map(
(sidebar) => sidebar.name === activeSidebar && sidebar.jsxElem
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/SidebarNotes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const notes: NoteProps[] = [

export const SidebarNotes = () => {
return (
<div className="flex flex-col gap-7 p-5">
<div className="flex flex-col gap-7 p-4 h-full overflow-auto">
<div className="flex justify-between items-center">
<div className="text-base font-bold text-darkGrey text-lg">Notizen</div>
<Button
Expand Down

0 comments on commit fafaf93

Please sign in to comment.