Improve sizing consistency of sidebar header

This commit is contained in:
Alex Gleason committed 2025-08-30 17:30:48 -05:00
1 parent 6fc0bb96be
commit 2728be2aa6
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -80,7 +80,7 @@ export function AppLayout({
return (
<div className="min-h-dvh bg-gradient-to-br from-primary/5 to-accent/5">
{/* Mobile Header */}
<header className="border-b bg-gradient-to-r from-primary/10 via-accent/5 to-primary/10 backdrop-blur px-4 py-3 flex items-center justify-between">
<header className="h-12 border-b bg-gradient-to-r from-primary/10 via-accent/5 to-primary/10 backdrop-blur px-4 py-3 flex items-center justify-between">
<div className="flex items-center space-x-2">
{showSidebar && (
<Button
@@ -149,7 +149,7 @@ export function AppLayout({
variant="ghost"
size="sm"
onClick={() => setIsSidebarVisible(!isSidebarVisible)}
className="absolute top-4 left-4 h-8 w-8 p-0 z-10 bg-transparent backdrop-blur-sm hover:bg-transparent text-foreground/70 hover:text-foreground"
className="absolute top-2 left-4 h-8 w-8 p-0 z-10 bg-transparent backdrop-blur-sm hover:bg-transparent text-foreground/70 hover:text-foreground"
aria-label="Toggle sidebar"
>
{isSidebarVisible ? <Columns2 className="h-4 w-4" /> : <Menu className="h-4 w-4" />}
+2 -2
View File
@@ -282,8 +282,8 @@ export function ProjectSidebar({
return (
<div className={cn("flex flex-col h-full bg-gradient-to-b from-sidebar to-sidebar/95", className)}>
{/* Header with Logo */}
<div className="p-4 border-b border-sidebar-border bg-gradient-to-r from-primary/10 via-accent/5 to-primary/10">
<div className="flex items-center justify-between">
<div className="flex px-4 h-12 border-b border-sidebar-border bg-gradient-to-r from-primary/10 via-accent/5 to-primary/10">
<div className="flex items-center justify-between w-full">
<button
onClick={() => navigate('/')}
className="flex items-center gap-3 hover:opacity-80 transition-opacity text-left"