Web: Fixed styles.
This commit is contained in:
parent
c1e3e7ec50
commit
9b38f39057
@ -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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user