Web: Fixed styles.

This commit is contained in:
Tatiana Lopaeva 2022-11-03 14:52:19 +03:00
parent c1e3e7ec50
commit 9b38f39057

View File

@ -8,26 +8,26 @@ import Text from "@docspace/components/text";
const StyledContactContainer = styled.div` const StyledContactContainer = styled.div`
display: flex; display: flex;
width: max-content; width: 100%;
p { a {
margin-right: 4px; margin-left: 4px;
} }
`; `;
const ContactContainer = ({ t, salesEmail, theme }) => { const ContactContainer = ({ t, salesEmail, theme }) => {
return ( return (
<StyledContactContainer> <StyledContactContainer>
<Text noSelect fontWeight={600}> <Text as="span" noSelect fontWeight={600}>
{t("ContactUs")} {t("ContactUs")}
<ColorTheme
tag="a"
themeId={ThemeType.Link}
fontWeight="600"
href={`mailto:${salesEmail}`}
>
{salesEmail}
</ColorTheme>
</Text> </Text>
<ColorTheme
tag="a"
themeId={ThemeType.Link}
fontWeight="600"
href={`mailto:${salesEmail}`}
>
{salesEmail}
</ColorTheme>
</StyledContactContainer> </StyledContactContainer>
); );
}; };