Skip to content

Commit

Permalink
fix: padding in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
iqbalpa committed Jul 20, 2024
1 parent 1e61b2a commit eb2fd4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function RootLayout({
<Header />
<div className="flex flex-1 flex-row overflow-hidden">
<main className="flex-1 overflow-y-hidden">{children}</main>
<ScrollArea className="flex-shrink-0 bg-slate-900 p-4">
<ScrollArea className="flex-shrink-0 bg-slate-900">
<Sidebar />
</ScrollArea>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Sidebar: React.FC = () => {
}

return (
<div className="flex flex-col gap-2">
<div className="hidden flex-col gap-2 md:flex p-4">
{surahs.map((surah) => {
const isActive = pathname === `/${surah.nomor}`;

Expand Down

0 comments on commit eb2fd4b

Please sign in to comment.