Skip to content

Commit

Permalink
fix: limit dashboard width (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban authored Jan 5, 2024
1 parent ef55e21 commit 411edb9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/[locale]/dashboard/[subdomain]/layout-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,12 @@ export default function DashboardLayout({
</div>
)}

<div className="lg:p-3 w-full h-full">
<div
className={cn(
"lg:p-3 w-full h-full",
!isMobileLayout && "max-w-[calc(100vw-240px)]",
)}
>
<div
className={cn(
`${isMobileLayout ? "pt-16 flex-1" : "flex-1 min-w-0"}`,
Expand Down

0 comments on commit 411edb9

Please sign in to comment.