aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-04 07:07:24 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-12-04 07:07:24 +0800
commitd8a3fc0be012ff88a851d2f388662b4aaaec5199 (patch)
tree9a74d906e468c28b534eb22a4546f0c964e5cded /packages/website
parente966641d1479be70007d7359b4e6eb8d0694756e (diff)
downloaddexon-sol-tools-d8a3fc0be012ff88a851d2f388662b4aaaec5199.tar
dexon-sol-tools-d8a3fc0be012ff88a851d2f388662b4aaaec5199.tar.gz
dexon-sol-tools-d8a3fc0be012ff88a851d2f388662b4aaaec5199.tar.bz2
dexon-sol-tools-d8a3fc0be012ff88a851d2f388662b4aaaec5199.tar.lz
dexon-sol-tools-d8a3fc0be012ff88a851d2f388662b4aaaec5199.tar.xz
dexon-sol-tools-d8a3fc0be012ff88a851d2f388662b4aaaec5199.tar.zst
dexon-sol-tools-d8a3fc0be012ff88a851d2f388662b4aaaec5199.zip
feat: make (optional) label inline
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/pages/instant/config_generator.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/website/ts/pages/instant/config_generator.tsx b/packages/website/ts/pages/instant/config_generator.tsx
index efd1be096..08aaa1d81 100644
--- a/packages/website/ts/pages/instant/config_generator.tsx
+++ b/packages/website/ts/pages/instant/config_generator.tsx
@@ -267,11 +267,12 @@ export const ConfigGeneratorSection: React.StatelessComponent<ConfigGeneratorSec
<Container marginBottom={marginBottom}>
<Container marginBottom="10px" className="flex justify-between items-center">
<Container>
- <Text fontColor={colors.white} fontSize="16px" lineHeight="18px">
+ <Text fontColor={colors.white} fontSize="16px" lineHeight="18px" display="inline">
{title}
</Text>
{isOptional && (
- <Text fontColor={colors.grey} fontSize="16px" lineHeight="18px">
+ <Text fontColor={colors.grey} fontSize="16px" lineHeight="18px" display="inline">
+ {' '}
(optional)
</Text>
)}