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