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,18 +8,17 @@ 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")}
</Text>
<ColorTheme <ColorTheme
tag="a" tag="a"
themeId={ThemeType.Link} themeId={ThemeType.Link}
@ -28,6 +27,7 @@ const ContactContainer = ({ t, salesEmail, theme }) => {
> >
{salesEmail} {salesEmail}
</ColorTheme> </ColorTheme>
</Text>
</StyledContactContainer> </StyledContactContainer>
); );
}; };