Skip to content

Commit 84d309f

Browse files
committed
feat: align logo when admin
1 parent a05c42d commit 84d309f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/frontend/src/components/new-layout/layout.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const LayoutComponent = ({ children }: { children: ReactNode }) => {
9696
) : (
9797
<div className="flex-1 flex gap-[8px]">
9898
<div className="flex flex-col bg-newBgColorInner w-[80px] rounded-[12px]">
99-
<div className="fixed h-full w-[64px] start-[17px] flex flex-1 top-0">
99+
<div className={clsx("fixed h-full w-[64px] start-[17px] flex flex-1 top-0", user?.admin && 'pt-[60px]')}>
100100
<div className="flex flex-col h-full gap-[32px] flex-1 py-[12px]">
101101
<Logo />
102102
<TopMenu />

0 commit comments

Comments
 (0)