Skip to content

Commit 484bb7e

Browse files
committed
style(sidebar): update AppSidebar border styling and adjust SidebarInset class for improved layout consistency
1 parent 20b55c7 commit 484bb7e

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

app/[locale]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export default async function LocaleLayout({ children, params }: Props) {
192192
>
193193
<SidebarProvider>
194194
<AppSidebar />
195-
<SidebarInset className="border lg:border-none">
195+
<SidebarInset className="border lg:border-l-0">
196196
<Header />
197197
<SearchCommand />
198198
<div data-pagefind-body className="relative">

components/sidebar/app-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function AppSidebar({ ...props }: ComponentProps<typeof Sidebar>) {
2727
return (
2828
<Sidebar
2929
collapsible="icon"
30-
className={cn("z-20", props.className)}
30+
className={cn("z-20 border-y border-l", props.className)}
3131
{...props}
3232
>
3333
<SidebarHeader>

components/ui/block-art.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ export function BlockArt({
6060
}, [totalCells, animatedCellCount, animationInterval]);
6161

6262
return (
63-
<section
64-
className={cn("h-full w-full bg-border pt-px lg:py-px", className)}
65-
>
63+
<section className={cn("h-full w-full bg-border pt-px", className)}>
6664
<div
6765
className="h-full w-full"
6866
style={{

0 commit comments

Comments
 (0)