diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-04 07:07:24 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 18:56:11 +0800 |
commit | 3bdcf7857f59b18579dc9de159776b86c7b57bdf (patch) | |
tree | c74a40f791ebc705946b11e36f3e6ad32cb24501 | |
parent | 80a25e4b3871843d3ec4c4f3eaa86c502c4d487d (diff) | |
download | dexon-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
-rw-r--r-- | packages/website/ts/pages/instant/config_generator.tsx | 5 |
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> )} |