aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-04 07:07:24 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-06 18:56:11 +0800
commit3bdcf7857f59b18579dc9de159776b86c7b57bdf (patch)
treec74a40f791ebc705946b11e36f3e6ad32cb24501 /packages/website
parent80a25e4b3871843d3ec4c4f3eaa86c502c4d487d (diff)
downloaddexon-sol-tools-3bdcf7857f59b18579dc9de159776b86c7b57bdf.tar
dexon-sol-tools-3bdcf7857f59b18579dc9de159776b86c7b57bdf.tar.gz
dexon-sol-tools-3bdcf7857f59b18579dc9de159776b86c7b57bdf.tar.bz2
dexon-sol-tools-3bdcf7857f59b18579dc9de159776b86c7b57bdf.tar.lz
dexon-sol-tools-3bdcf7857f59b18579dc9de159776b86c7b57bdf.tar.xz
dexon-sol-tools-3bdcf7857f59b18579dc9de159776b86c7b57bdf.tar.zst
dexon-sol-tools-3bdcf7857f59b18579dc9de159776b86c7b57bdf.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>
)}