Skip to content

Commit 61583cf

Browse files
committed
Dashboard: Fix project settings page max-width (#6634)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the layout of the `settings` page in the project dashboard. It enhances the styling and structure of the header and the content area. ### Detailed summary - Replaced the existing `<h1>` element with a new structure wrapped in a `<div>` with a class of `border-b py-10`. - Changed the font size of the `<h1>` from `text-3xl` to `text-2xl` for better responsiveness. - Added a container with a maximum width of `7xl` around the header. - Adjusted the padding of the content area to `pt-6 pb-20`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent cf02af0 commit 61583cf

File tree

1 file changed

+8
-4
lines changed
  • apps/dashboard/src/app/team/[team_slug]/[project_slug]/settings

1 file changed

+8
-4
lines changed

apps/dashboard/src/app/team/[team_slug]/[project_slug]/settings/layout.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ export default async function Layout(props: {
77
}) {
88
return (
99
<div className="flex grow flex-col">
10-
<h1 className="font-semibold text-3xl tracking-tight">
11-
Project Settings
12-
</h1>
13-
<div className="py-6">{props.children}</div>
10+
<div className="border-b py-10">
11+
<div className="container max-w-7xl">
12+
<h1 className="font-semibold text-2xl tracking-tight lg:text-3xl">
13+
Project Settings
14+
</h1>
15+
</div>
16+
</div>
17+
<div className="container max-w-7xl pt-6 pb-20">{props.children}</div>
1418
</div>
1519
);
1620
}

0 commit comments

Comments
 (0)