Skip to content

Commit 4b9e52d

Browse files
committed
update UI
1 parent 5fda2f7 commit 4b9e52d

File tree

8 files changed

+433
-416
lines changed

8 files changed

+433
-416
lines changed

apps/dashboard/src/@/components/blocks/FormFieldSetup.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ import { ToolTipLabel } from "@/components/ui/tooltip";
33
import { AsteriskIcon, InfoIcon } from "lucide-react";
44

55
export function FormFieldSetup(props: {
6-
htmlFor: string;
6+
htmlFor?: string;
77
label: string;
88
errorMessage: React.ReactNode | undefined;
99
children: React.ReactNode;
1010
tooltip?: React.ReactNode;
1111
isRequired: boolean;
1212
helperText?: React.ReactNode;
13+
className?: string;
1314
}) {
1415
return (
15-
<div>
16+
<div className={props.className}>
1617
<div className="mb-2 inline-flex items-center gap-1">
1718
<Label htmlFor={props.htmlFor}>{props.label}</Label>
1819

apps/dashboard/src/app/(dashboard)/contracts/publish/[publish_uri]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default async function PublishContractPage(
7373
}
7474

7575
return (
76-
<div className="container flex flex-col gap-8 py-8">
76+
<div className="container flex max-w-[1130px] flex-col gap-8 py-8">
7777
<ChakraProviderSetup>
7878
<ContractPublishForm
7979
jwt={token}

0 commit comments

Comments
 (0)