summaryrefslogtreecommitdiff
path: root/apps/web
diff options
context:
space:
mode:
authorKha Nguyen <hi@khanguyen.com>2025-07-23 17:02:31 -0500
committerKha Nguyen <hi@khanguyen.com>2025-07-23 17:02:31 -0500
commitb208f355e2e636d6e10fba2def4a6f2486f9d354 (patch)
tree187deaf48f926c138a018b69e20c62ba281ef9c9 /apps/web
parente0fac61a91a226c9d489f204b78b196e32bbd143 (diff)
downloadopencut-b208f355e2e636d6e10fba2def4a6f2486f9d354.tar.gz
render header components as is
left, center, and right parts should already have wrappers for more control
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/src/components/header-base.tsx12
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/web/src/components/header-base.tsx b/apps/web/src/components/header-base.tsx
index f27eb7fc..b8a214f5 100644
--- a/apps/web/src/components/header-base.tsx
+++ b/apps/web/src/components/header-base.tsx
@@ -28,14 +28,10 @@ export function HeaderBase({
}
return (
- <header
- className={cn("px-6 h-14 flex justify-between items-center", className)}
- >
- {leftContent && <div className="flex items-center">{leftContent}</div>}
- {centerContent && (
- <div className="flex items-center">{centerContent}</div>
- )}
- {rightContent && <div className="flex items-center">{rightContent}</div>}
+ <header className={cn("px-6 h-14 flex justify-between", className)}>
+ {leftContent && leftContent}
+ {centerContent && centerContent}
+ {rightContent && rightContent}
</header>
);
}