Skip to content

Commit 54d4b45

Browse files
committed
UI tweaks
1 parent 3245a3e commit 54d4b45

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/_common/SocialUrls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function SocialUrlsFieldset<T extends WithSocialUrls>(props: {
3434
<h2 className="mb-2 font-medium text-sm">Social URLs</h2>
3535

3636
{fields.length > 0 && (
37-
<div className="mb-4 space-y-3">
37+
<div className="mb-4 space-y-4">
3838
{fields.map((field, index) => (
3939
<div
4040
className="flex gap-3 max-sm:mb-6 max-sm:border-b max-sm:border-dashed max-sm:pb-6"

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/token/distribution/token-airdrop.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ export function TokenAirdropSection(props: {
6666

6767
return (
6868
<DynamicHeight>
69-
<div className="relative border-t border-dashed">
70-
<div className="flex items-center justify-between gap-3 px-4 py-6 md:px-6">
69+
<div className="relative border-t border-dashed px-4 py-8 md:px-6">
70+
<div className="flex items-center justify-between gap-3 ">
7171
<div>
72-
<h2 className="font-semibold text-lg">Airdrop</h2>
72+
<h2 className="font-semibold text-xl tracking-tight">Airdrop</h2>
7373
<p className="text-muted-foreground text-sm">
7474
Airdrop tokens to a list of addresses with each address receiving
7575
a specific quantity
@@ -88,7 +88,7 @@ export function TokenAirdropSection(props: {
8888
</div>
8989

9090
{isEnabled && (
91-
<div className="flex justify-start px-4 pb-4 md:px-6 md:pb-6">
91+
<div className="flex justify-start mt-4">
9292
{airdropAddresses.length > 0 ? (
9393
<div className="flex w-full flex-col gap-4 rounded-lg border bg-background p-4 md:flex-row lg:items-center lg:justify-between">
9494
{/* left */}

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/token/distribution/token-distribution.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function TokenDistributionFieldset(props: {
5858
isRequired
5959
label="Total Supply"
6060
>
61-
<div className="relative">
61+
<div className="relative max-w-96">
6262
<Input id={supplyId} {...form.register("supply")} />
6363
<span className="-translate-y-1/2 absolute top-1/2 right-3 text-muted-foreground text-sm">
6464
{props.tokenSymbol || "Tokens"}
@@ -75,7 +75,7 @@ export function TokenDistributionFieldset(props: {
7575

7676
<TokenAirdropSection client={props.client} form={form} />
7777

78-
<div className="flex flex-col gap-3 p-4 py-6 md:px-6 md:py-6 border-t border-dashed">
78+
<div className="flex flex-col gap-3 p-4 py-8 md:px-6 border-t border-dashed">
7979
<TokenDistributionBarChart
8080
distributionFormValues={form.watch()}
8181
/>

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/token/distribution/token-sale.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ export function TokenSaleSection(props: {
8181

8282
return (
8383
<DynamicHeight>
84-
<div className="relative border-t border-dashed p-4 md:p-6">
84+
<div className="relative border-t border-dashed px-4 md:px-6 py-8">
8585
<div>
8686
<div className="flex items-center justify-between gap-3">
8787
<div>
88-
<h2 className="font-semibold text-lg">Sale</h2>
88+
<h2 className="font-semibold text-xl tracking-tight">Sale</h2>
8989
<p className="text-muted-foreground text-sm">
9090
List your coin on a decentralized exchange and earn rewards on
9191
every trade
@@ -206,7 +206,7 @@ function PoolConfig(props: {
206206
);
207207

208208
return (
209-
<div className="grid grid-cols-1 gap-5">
209+
<div className="space-y-6">
210210
{/* Pricing Strategy */}
211211
<FormFieldSetup
212212
isRequired
@@ -235,7 +235,7 @@ function PoolConfig(props: {
235235
</Select>
236236
</FormFieldSetup>
237237

238-
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
238+
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4 lg:max-w-[536px]">
239239
{/* supply % */}
240240
<FormFieldSetup
241241
errorMessage={

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/token/token-info/token-info-fieldset.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function TokenInfoFieldset(props: {
6060
{/* name + symbol */}
6161
<div className="flex flex-col gap-6 lg:flex-row lg:gap-4">
6262
<FormFieldSetup
63-
className="grow"
63+
className="lg:max-w-[300px] grow"
6464
errorMessage={form.formState.errors.name?.message}
6565
htmlFor={nameId}
6666
isRequired
@@ -74,7 +74,7 @@ export function TokenInfoFieldset(props: {
7474
</FormFieldSetup>
7575

7676
<FormFieldSetup
77-
className="lg:max-w-[200px]"
77+
className="lg:max-w-[150px]"
7878
errorMessage={form.formState.errors.symbol?.message}
7979
htmlFor={symbolId}
8080
isRequired

0 commit comments

Comments
 (0)