feat: make (optional) label inline

This commit is contained in:
fragosti 2018-12-03 15:07:24 -08:00
parent e966641d14
commit d8a3fc0be0

View File

@ -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>
)}