Skip to content

Commit

Permalink
style: Highligted active local case.
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund committed Jan 24, 2024
1 parent 5fecd76 commit 5e568f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/features/Compute/CaseGroup/CaseRow/CaseRow.Styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ export const Case = styled.div`
border-bottom: solid thin ${theme.light.ui.background.medium};
background-color: ${theme.light.ui.background.default};
border-radius: ${spacings.CARD_ROUNDED};
&.local-case {
border: solid lightgreen;
}
`;

export const CaseRow = styled.div`
Expand Down
2 changes: 1 addition & 1 deletion src/features/Compute/CaseGroup/CaseRow/CaseRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ export const CaseRow = ({
}, [caseList, allCasesList, saved]);

return (
<Styled.Case>
<Styled.Case className={id.length <= 3 ? 'local-case' : ''}>
<Styled.CaseRow
className={caseType === 'Object' ? 'Object' : 'Variogram'}
>
Expand Down

0 comments on commit 5e568f6

Please sign in to comment.