Skip to content

Commit 9a412d7

Browse files
authored
Teampage tweak (codesandbox#3893)
* fixed svg on team page fixed svg on team page * Super fix borderradius overflow pixel bug (webkit) * Fixed bug in CI aswell * tweak tweak
1 parent 181b099 commit 9a412d7

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

packages/homepage/content/features/ci/ci-hero.svg

Lines changed: 1 addition & 1 deletion
Loading

packages/homepage/content/features/team/team.svg

Lines changed: 22 additions & 1 deletion
Loading

packages/homepage/src/templates/_feature.elements.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ export const Description = styled.h2`
3939
export const Banner = styled.div`
4040
${({ color, reverse, coverSmaller }) => css`
4141
background: #${color};
42+
4243
height: ${coverSmaller ? '380px' : '480px'};
4344
width: 100%;
44-
border-radius: 4px;
45+
4546
margin-bottom: 7.5rem;
4647
margin-top: 3.75rem;
4748
position: relative;
@@ -52,6 +53,9 @@ export const Banner = styled.div`
5253
align-items: flex-end;
5354
flex-grow: 0;
5455
flex-shrink: 1;
56+
/* border-radius: 4px; */
57+
clip-path: inset(0px round 0.5rem);
58+
-webkit-mask-image: -webkit-radial-gradient(white, black);
5559
overflow: hidden;
5660
5761
${props => props.theme.breakpoints.lg} {

0 commit comments

Comments
 (0)