Skip to content

Commit

Permalink
Fix issue in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Wal Wal committed Jan 31, 2021
1 parent 3bff1b3 commit 5d9b5f2
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/pages/dashboard/submissions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,11 @@ const ProjectCard = styled(Link)<{cover: string}>`
padding: 20px;
background-color: var(--wine);
background-size: cover;
${({cover}) =>
background: ${({cover}) =>
cover
? `
background: url(${cover})
`
: ``}
? `var(--wine) url(${[cover]}) no-repeat center center`
: 'var(--wine)'};
background-size: cover;
color: var(--white) !important;
transition: box-shadow 200ms;
Expand Down

0 comments on commit 5d9b5f2

Please sign in to comment.