Skip to content

Commit

Permalink
Fix the logo corners to ensure no gaps appear (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
rick-nu committed Dec 8, 2022
1 parent e3e1e1f commit d6a27a2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions frontend/App/Toolbar/Toolbar.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,21 @@ export const Brand = styled.div`
bottom: 0;
position: absolute;
content: '';
box-shadow: 0 0 0 50px #fff;
clip: rect(0, ${radius}rem, ${radius}rem, 0);
display: block;
}
&::after {
right: -${radius}rem;
border-bottom-left-radius: 100%;
background-image: radial-gradient(
circle at ${radius}rem 0,
rgba(204, 0, 0, 0) ${radius}rem,
white ${radius + 0.1}rem
);
}
&::before {
left: -${radius}rem;
border-bottom-right-radius: 100%;
background-image: radial-gradient(circle at 0 0, rgba(204, 0, 0, 0) ${radius}rem, white ${radius + 0.1}rem);
}
svg {
Expand Down

0 comments on commit d6a27a2

Please sign in to comment.