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`
display: flex;
width: max-content;
p {
margin-right: 4px;
width: 100%;
a {
margin-left: 4px;
}
`;
const ContactContainer = ({ t, salesEmail, theme }) => {
return (
<StyledContactContainer>
<Text noSelect fontWeight={600}>
<Text as="span" noSelect fontWeight={600}>
{t("ContactUs")}
</Text>
<ColorTheme
tag="a"
themeId={ThemeType.Link}
@ -28,6 +27,7 @@ const ContactContainer = ({ t, salesEmail, theme }) => {
>
{salesEmail}
</ColorTheme>
</Text>
</StyledContactContainer>
);
};