Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/nasty-hairs-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'hub': patch
---

set a max layout width for hub layout
2 changes: 1 addition & 1 deletion apps/hub/src/app/_components/hub-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function HubLayout({ children }: HubLayoutProps) {

{/* Main Content Area */}
<div className="relative w-full overflow-hidden rounded-20 bg-white-100">
<div className="flex h-[calc(100vh-64px-123px)] w-full flex-row overflow-hidden lg:h-[calc(100vh-64px-50px)]">
<div className="mx-auto flex h-[calc(100vh-64px-123px)] w-full max-w-[1504px] flex-row overflow-hidden lg:h-[calc(100vh-64px-50px)]">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nonuwa-oss
I think it would be better to define 1504 as a global CSS variable and use it here instead of hard-coding the value. This way, it’ll be easier to find and adjust later.

It's totally optional though. what do you think?

{/* Sidebar */}
<Sidebar isOpen={sidebarOpen} onClose={() => setSidebarOpen(false)} />

Expand Down
Loading