Skip to content

Commit

Permalink
fix: text overlap with border in section layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshxn committed Oct 15, 2023
1 parent 7d63935 commit 54d74c2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/shared/SectionLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ export const SectionTitle = styled(Body1)`
${({ accent }) =>
accent
? `
background: var(--brand-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: #EABCFF;
`
: ''}
: ''}//background: var(--brand-gradient);
//-webkit-background-clip: text;
//
//background-clip: text;
//-webkit-text-fill-color: transparent;
`;

export const CustomHGroup = styled.hgroup`
Expand All @@ -48,12 +49,12 @@ const SectionHeader = ({ title }) => (

const SectionFooter = ({ title, link }) => (
<CustomHGroup>
<HorizontalLine />
<Link to={link}>
<SectionTitle accent right>
{title}
</SectionTitle>
</Link>
<HorizontalLine />
</CustomHGroup>
);

Expand Down

0 comments on commit 54d74c2

Please sign in to comment.