Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
KillariDev committed Jan 29, 2024
1 parent ab1b6e1 commit bac4952
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/About/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const StyledCard = styled.div<{ $isDarkMode: boolean; $backgroundImgSrc?: string
background: ${({ $isDarkMode, $backgroundImgSrc, $type, theme }) =>
$isDarkMode
? `${theme.surface2} ${$backgroundImgSrc ? ` url(${$backgroundImgSrc})` : ''}`
: `${$type === CardType.Primary ? 'white' : theme.surface2} ${$backgroundImgSrc ? ` url(${$backgroundImgSrc})` : ''}`};
: `${$type === CardType.Primary ? 'white' : theme.surface2} ${
$backgroundImgSrc ? ` url(${$backgroundImgSrc})` : ''
}`};
background-size: auto 100%;
background-position: right;
background-repeat: no-repeat;
Expand Down

0 comments on commit bac4952

Please sign in to comment.