Skip to content

Commit 5fc35b8

Browse files
committed
Spacing adjustments on account-abstraction policies form
1 parent 0c5b0bf commit 5fc35b8

File tree

1 file changed

+16
-15
lines changed
  • apps/dashboard/src/components/smart-wallets/SponsorshipPolicies

1 file changed

+16
-15
lines changed

apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -272,14 +272,14 @@ export function AccountAbstractionSettingsPage(
272272
>
273273
<FormControl>
274274
<Flex flexDir="column" gap={4}>
275-
<div className="flex flex-row items-center justify-between">
275+
<div className="flex flex-row items-center justify-between gap-6 lg:gap-12">
276276
<div>
277277
<FormLabel pointerEvents="none">Global spend limits</FormLabel>
278278
<Text>
279-
Maximum gas cost (in USD) that you want to sponsor. This
280-
applies for the duration of the billing period (monthly). Once
281-
this limit is reached, your users will have to fund their own
282-
gas costs.
279+
Maximum gas cost (in USD) that you want to sponsor. <br />{" "}
280+
This applies for the duration of the billing period (monthly).
281+
Once this limit is reached, your users will have to fund their
282+
own gas costs.
283283
</Text>
284284
</div>
285285

@@ -308,7 +308,7 @@ export function AccountAbstractionSettingsPage(
308308
}
309309
>
310310
<FormLabel>Spend limit</FormLabel>
311-
<div className="flex flex-row items-center">
311+
<div className="flex flex-row items-center gap-2">
312312
<Input
313313
w="xs"
314314
placeholder="Enter an amount"
@@ -343,14 +343,14 @@ export function AccountAbstractionSettingsPage(
343343
}
344344
>
345345
<Flex flexDir="column" gap={4}>
346-
<div className="flex flex-row items-center justify-between">
346+
<div className="flex flex-row items-center justify-between gap-6 lg:gap-12">
347347
<div>
348348
<FormLabel pointerEvents="none">
349349
Restrict to specific chains
350350
</FormLabel>
351351
<Text>
352-
Only sponsor transactions on the specified chains. By default,
353-
transactions can be sponsored on any of the{" "}
352+
Only sponsor transactions on the specified chains. <br /> By
353+
default, transactions can be sponsored on any of the{" "}
354354
<TrackedLink
355355
color="primary.500"
356356
isExternal
@@ -399,7 +399,7 @@ export function AccountAbstractionSettingsPage(
399399
}
400400
>
401401
<Flex flexDir="column" gap={4}>
402-
<div className="flex flex-row items-center justify-between">
402+
<div className="flex flex-row items-center justify-between gap-6 lg:gap-12">
403403
<div>
404404
<FormLabel pointerEvents="none">
405405
Restrict to specific contract addresses
@@ -442,7 +442,7 @@ export function AccountAbstractionSettingsPage(
442442
<Divider />
443443
<FormControl>
444444
<Flex flexDir="column" gap={4}>
445-
<div className="flex flex-row items-center justify-between">
445+
<div className="flex flex-row items-center justify-between gap-6 lg:gap-12">
446446
<div>
447447
<FormLabel pointerEvents="none">
448448
Allowlisted/Blocklisted accounts
@@ -519,13 +519,14 @@ export function AccountAbstractionSettingsPage(
519519
<Divider />
520520
<FormControl>
521521
<Flex flexDir="column" gap={4}>
522-
<div className="flex flex-row items-center justify-between">
522+
<div className="flex flex-row items-center justify-between gap-6 lg:gap-12">
523523
<div>
524524
<FormLabel pointerEvents="none">Server verifier</FormLabel>
525525
<Text>
526526
Specify your own endpoint that will verify each transaction
527-
and decide whether it should be sponsored or not. This gives
528-
you fine grained control and lets you build your own rules.{" "}
527+
and decide whether it should be sponsored or not. <br /> This
528+
gives you fine grained control and lets you build your own
529+
rules.{" "}
529530
<TrackedLink
530531
category={trackingCategory}
531532
href="https://portal.thirdweb.com/wallets/smart-wallet/sponsorship-rules#setting-up-a-server-verifier"
@@ -634,7 +635,7 @@ export function AccountAbstractionSettingsPage(
634635
}
635636
>
636637
<Flex flexDir="column" gap={4}>
637-
<div className="flex flex-row items-center justify-between">
638+
<div className="flex flex-row items-center justify-between gap-6 lg:gap-12">
638639
<div>
639640
<FormLabel pointerEvents="none">Admin accounts</FormLabel>
640641
<Text>

0 commit comments

Comments
 (0)