diff --git a/src/features/Compute/ComputeVariogram/CaseCard/CaseCard.tsx b/src/features/Compute/ComputeVariogram/CaseCard/CaseCard.tsx index 925dd3db..3e6df56a 100644 --- a/src/features/Compute/ComputeVariogram/CaseCard/CaseCard.tsx +++ b/src/features/Compute/ComputeVariogram/CaseCard/CaseCard.tsx @@ -13,6 +13,8 @@ import { ModelSelect } from './CaseCardParameters/ModelSelect/ModelSelect'; import { GrainSizeSelect } from './CaseCardParameters/GrainSizeSelect/GrainSizeSelect'; import { ParameterSelect } from './CaseCardParameters/ParameterSelect/ParameterSelect'; +import { CaseCardComponent } from '../../../../components/CaseCardComponent/CaseCardComponent'; + export default interface optionTypes { id: number; name: string; @@ -57,11 +59,6 @@ export const CaseCard = ({ { id: 7, name: 'General exponential' }, ]; - // const parameterOptions: optionTypes[] = [ - // { id: 8, name: 'Porosity' }, - // { id: 9, name: 'Permeability' }, - // ]; - const modelAreas: optionTypes[] = [ { id: 10, name: 'Proximal' }, { id: 11, name: 'Left' }, @@ -87,9 +84,8 @@ export const CaseCard = ({ }; return ( - + - {name} {caseType === 'variogram' ? ( )} - + ); }; diff --git a/src/pages/ModelPages/Compute/ComputeObject/ComputeObject.tsx b/src/pages/ModelPages/Compute/ComputeObject/ComputeObject.tsx index 90c9d05e..938c9aa0 100644 --- a/src/pages/ModelPages/Compute/ComputeObject/ComputeObject.tsx +++ b/src/pages/ModelPages/Compute/ComputeObject/ComputeObject.tsx @@ -34,14 +34,13 @@ export const ComputeObject = () => { {cases.length !== 0 ? ( cases.map((c) => ( - - - + )) ) : ( Add a Case diff --git a/src/pages/ModelPages/Compute/ComputeVariogram/ComputeVariogram.styled.tsx b/src/pages/ModelPages/Compute/ComputeVariogram/ComputeVariogram.styled.tsx index e65a9c98..4a217a9e 100644 --- a/src/pages/ModelPages/Compute/ComputeVariogram/ComputeVariogram.styled.tsx +++ b/src/pages/ModelPages/Compute/ComputeVariogram/ComputeVariogram.styled.tsx @@ -19,14 +19,7 @@ export const Case = styled.div` border-left: solid ${spacings.XX_SMALL} ${theme.light.ui.background.medium}; `; -export const CaseBorder = styled.div` - display: flex; - flex-direction: column; - row-gap: ${spacings.XXX_LARGE}; - border-radius: ${spacings.CARD_ROUNDED}; - border: solid 1px ${theme.light.ui.background.medium}; -`; export const AddCaseButton = styled(Button)` width: fit-content; `; diff --git a/src/pages/ModelPages/Compute/ComputeVariogram/ComputeVariogram.tsx b/src/pages/ModelPages/Compute/ComputeVariogram/ComputeVariogram.tsx index 2e447d8a..dd517bb6 100644 --- a/src/pages/ModelPages/Compute/ComputeVariogram/ComputeVariogram.tsx +++ b/src/pages/ModelPages/Compute/ComputeVariogram/ComputeVariogram.tsx @@ -46,14 +46,13 @@ export const ComputeVariogram = () => { {cases.length !== 0 ? ( cases.map((c) => ( - - - + )) ) : ( Add a Case