aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/standard_panel_content.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant/src/components/standard_panel_content.tsx')
-rw-r--r--packages/instant/src/components/standard_panel_content.tsx21
1 files changed, 10 insertions, 11 deletions
diff --git a/packages/instant/src/components/standard_panel_content.tsx b/packages/instant/src/components/standard_panel_content.tsx
index fca5383ea..95a79bd55 100644
--- a/packages/instant/src/components/standard_panel_content.tsx
+++ b/packages/instant/src/components/standard_panel_content.tsx
@@ -29,7 +29,7 @@ export const StandardPanelContent: React.StatelessComponent<StandardPanelContent
action,
}) => (
<Container height="100%">
- <Flex direction="column" height="calc(100% - 55px)">
+ <Flex direction="column" height="calc(100% - 58px)">
<Container marginBottom={spacingBetweenPx}>{image}</Container>
<Container marginBottom={spacingBetweenPx}>
<Text fontSize="20px" fontWeight={700} fontColor={ColorOption.black}>
@@ -43,16 +43,15 @@ export const StandardPanelContent: React.StatelessComponent<StandardPanelContent
</Container>
<Container marginBottom={spacingBetweenPx}>
{moreInfoSettings && (
- <a href={moreInfoSettings.href} target="_blank">
- <Text
- center={true}
- fontSize="13px"
- textDecorationLine="underline"
- fontColor={ColorOption.lightGrey}
- >
- {moreInfoSettings.text}
- </Text>
- </a>
+ <Text
+ center={true}
+ fontSize="13px"
+ textDecorationLine="underline"
+ fontColor={ColorOption.lightGrey}
+ href={moreInfoSettings.href}
+ >
+ {moreInfoSettings.text}
+ </Text>
)}
</Container>
</Flex>