Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Sep 13, 2024
1 parent 88194d7 commit d213a2f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const Wrapper = styled.div<{
isInfractionSuspicion?: boolean
}>`
background: ${p => (p.isInfractionSuspicion ? p.theme.color.maximumRed15 : p.theme.color.gainsboro)} 0% 0% no-repeat
padding-box;
padding-box;

Check failure on line 157 in frontend/src/features/Reporting/components/VesselReportings/ReportingCard.tsx

View workflow job for this annotation

GitHub Actions / Run frontend unit tests

Insert `··`
display: flex;
margin-bottom: 16px;
`
Expand Down Expand Up @@ -212,7 +212,7 @@ const Actions = styled.div<{
const NumberOfAlerts = styled.span<{
isArchived?: boolean | undefined
}>`
margin-top: ${p => (p.isArchived ? 8 : 8)}px;
margin-top: 8px;
margin-right: ${p => (p.isArchived ? '8px' : 'unset')};
margin-left: ${p => (p.isArchived ? 'auto' : 'unset')};
background: ${p => p.theme.color.maximumRed} 0% 0% no-repeat padding-box;
Expand Down

0 comments on commit d213a2f

Please sign in to comment.