Skip to content

Commit

Permalink
fix(dashboard-3): align aside and header borders in default style (#3137
Browse files Browse the repository at this point in the history
)
  • Loading branch information
yikZero authored Mar 26, 2024
1 parent 5c50a32 commit 1da3e74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/www/registry/default/block/dashboard-03.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const containerClassName = "w-full h-full"

export default function Dashboard() {
return (
<div className="grid h-screen w-full pl-[53px]">
<div className="grid h-screen w-full pl-[56px]">
<aside className="inset-y fixed left-0 z-20 flex h-full flex-col border-r">
<div className="border-b p-2">
<Button variant="outline" size="icon" aria-label="Home">
Expand Down Expand Up @@ -170,7 +170,7 @@ export default function Dashboard() {
</nav>
</aside>
<div className="flex flex-col">
<header className="sticky top-0 z-10 flex h-[53px] items-center gap-1 border-b bg-background px-4">
<header className="sticky top-0 z-10 flex h-[57px] items-center gap-1 border-b bg-background px-4">
<h1 className="text-xl font-semibold">Playground</h1>
<Drawer>
<DrawerTrigger asChild>
Expand Down

0 comments on commit 1da3e74

Please sign in to comment.