diff --git a/src/templates/EmailTemplateSubComponents/Directive.tsx b/src/templates/EmailTemplateSubComponents/Directive.tsx index 735fe792..b84883ad 100644 --- a/src/templates/EmailTemplateSubComponents/Directive.tsx +++ b/src/templates/EmailTemplateSubComponents/Directive.tsx @@ -154,20 +154,9 @@ export const Directive: FC = ({ emailSubComponent }) => {/* Same Link As Button */} - -
- - {value.linkHref || - 'https://link.embedded-into-the-button-above.should-be-shown-here-in-order-to-give-an-alternative-way-to-access-a-link'} - -
+ + {value.linkHref || + 'https://link.embedded-into-the-button-above.should-be-shown-here-in-order-to-give-an-alternative-way-to-access-a-link'}
@@ -330,20 +319,13 @@ export const Directive: FC = ({ emailSubComponent }) => {/* Same Link As Button */} - -
- - {value.linkHref || - 'https://link.embedded-into-the-button-above.should-be-shown-here-in-order-to-give-an-alternative-way-to-access-a-link'} - -
+ + {value.linkHref || + 'https://link.embedded-into-the-button-above.should-be-shown-here-in-order-to-give-an-alternative-way-to-access-a-link'}
@@ -588,6 +570,8 @@ const styles = { ...Text.link.small, color: Colors.alert.neutral.dark, textAlign: 'left', + wordBreak: 'break-all', + paddingBottom: Spacing.size.medium, } as CSSProperties, step3AdditionalInfo: { paddingLeft: '46px', diff --git a/src/templates/styles.tsx b/src/templates/styles.tsx index 45f1f304..7d982480 100644 --- a/src/templates/styles.tsx +++ b/src/templates/styles.tsx @@ -267,14 +267,17 @@ export const Text = { small: { regular: defaultTextStyle({ fontSize: 10, + lineHeight: 1.25, fontWeight: FontWeight.regular, }), semibold: defaultTextStyle({ fontSize: 10, + lineHeight: 1.25, fontWeight: FontWeight.semibold, }), bold: defaultTextStyle({ fontSize: 10, + lineHeight: 1.25, fontWeight: FontWeight.bold, }), }, @@ -284,16 +287,19 @@ export const Text = { regular: defaultTextStyle({ fontSize: 12, fontWeight: FontWeight.regular, + lineHeight: 1.25, textDecoration: 'underline', }), bold: defaultTextStyle({ fontSize: 12, fontWeight: FontWeight.bold, + lineHeight: 1.25, textDecoration: 'underline', }), }, small: defaultTextStyle({ fontSize: 10, + lineHeight: 1.25, textDecoration: 'underline', }), },