Skip to content

Commit 85650c5

Browse files
committed
feat: increase padding in multiple pages for improved layout consistency
1 parent c3a8d93 commit 85650c5

20 files changed

Lines changed: 28 additions & 38 deletions

File tree

src/app/(dashboard)/namespace/[namespaceId]/roles/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default function Page() {
44
return <div style={{
55
background: "#070514",
66
height: "100%",
7-
padding: "1rem",
7+
padding: "2rem",
88
borderTopLeftRadius: "1rem",
99
borderTopRightRadius: "1rem"
1010
}}>

src/app/(flow)/namespace/[namespaceId]/project/[projectId]/module/[moduleId]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function AuthLayout({children}: Readonly<{ children: React.ReactN
77
return <div style={{
88
background: "#070514",
99
height: "100%",
10-
padding: "1rem",
10+
padding: "2rem",
1111
borderTopLeftRadius: "1rem",
1212
borderTopRightRadius: "1rem"
1313
}}>
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
"use client"
22

3-
import React from "react";
43
import {ProjectSettingsPage} from "@edition/project/pages/ProjectSettingsPage";
54

6-
export default function Page() {
7-
return <ProjectSettingsPage/>
8-
}
5+
export default ProjectSettingsPage

src/packages/ce/src/application/pages/ApplicationPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const ApplicationPage = () => {
3333
return <div style={{
3434
background: "#070514",
3535
height: "100%",
36-
padding: "1rem",
36+
padding: "2rem",
3737
borderTopLeftRadius: "1rem",
3838
borderTopRightRadius: "1rem"
3939
}}>

src/packages/ce/src/member/pages/MemberAddPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const MemberAddPage: React.FC = () => {
5959
return <div style={{
6060
background: "#070514",
6161
height: "100%",
62-
padding: "1rem",
62+
padding: "2rem",
6363
borderTopLeftRadius: "1rem",
6464
borderTopRightRadius: "1rem"
6565
}}>

src/packages/ce/src/member/pages/MembersPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const MembersPage: React.FC = () => {
77
return <div style={{
88
background: "#070514",
99
height: "100%",
10-
padding: "1rem",
10+
padding: "2rem",
1111
borderTopLeftRadius: "1rem",
1212
borderTopRightRadius: "1rem"
1313
}}>

src/packages/ce/src/module/pages/ModulesPage.tsx

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,28 +52,21 @@ export const ModulesPage: React.FC = () => {
5252
)
5353

5454
return <>
55-
<Flex justify={"space-between"} pt={"0"} py={1} style={{flexWrap: "wrap"}} align={"center"}>
56-
<Flex style={{gap: "0.35rem", flexDirection: "column"}}>
57-
<Text size={"xl"} hierarchy={"primary"}>
58-
Installed plugins on {project?.name}
59-
</Text>
60-
<Text size={"sm"} hierarchy={"tertiary"}>
61-
Extend the capabilities of your runtime by installing plugins. Plugins can provide new flow types
62-
and
63-
function.
64-
</Text>
65-
</Flex>
66-
<Button color={"tertiary"}>
67-
Learn how to install plugins
68-
</Button>
69-
</Flex>
7055
<div style={{
7156
background: "#070514",
7257
height: "100%",
73-
padding: "1rem",
58+
padding: "2rem",
7459
borderTopLeftRadius: "1rem",
7560
borderTopRightRadius: "1rem"
7661
}}>
62+
<Flex justify={"space-between"} pt={"0"} py={1} style={{flexWrap: "wrap"}} align={"start"}>
63+
<Text size={"xl"} hierarchy={"primary"}>
64+
Installed plugins on {project?.name}
65+
</Text>
66+
<Button color={"tertiary"}>
67+
Learn how to install plugins
68+
</Button>
69+
</Flex>
7770
<Flex justify={"space-between"} style={{gap: "0.7rem"}} w={"100%"} align={"center"}>
7871
<div style={{width: "100%"}}>
7972
<DataTableFilterInput/>

src/packages/ce/src/namespace/pages/NamespaceOverviewPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const NamespaceOverviewPage: React.FC = () => {
2727
<div style={{
2828
background: "#070514",
2929
height: "100%",
30-
padding: "1rem",
30+
padding: "2rem",
3131
borderTopLeftRadius: "1rem",
3232
borderTopRightRadius: "1rem"
3333
}}>

src/packages/ce/src/namespace/pages/NamespaceProjectsCreatePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const NamespaceProjectsCreatePage: React.FC = () => {
6464
return <div style={{
6565
background: "#070514",
6666
height: "100%",
67-
padding: "1rem",
67+
padding: "2rem",
6868
borderTopLeftRadius: "1rem",
6969
borderTopRightRadius: "1rem"
7070
}}>

src/packages/ce/src/namespace/pages/NamespaceProjectsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const NamespaceProjectsPage: React.FC = () => {
77
return <div style={{
88
background: "#070514",
99
height: "100%",
10-
padding: "1rem",
10+
padding: "2rem",
1111
borderTopLeftRadius: "1rem",
1212
borderTopRightRadius: "1rem"
1313
}}>

0 commit comments

Comments
 (0)