diff --git a/frontend/src/component/common/SegmentItem/SegmentItem.tsx b/frontend/src/component/common/SegmentItem/SegmentItem.tsx index 53a60f4007..e2a4b914cc 100644 --- a/frontend/src/component/common/SegmentItem/SegmentItem.tsx +++ b/frontend/src/component/common/SegmentItem/SegmentItem.tsx @@ -7,7 +7,6 @@ import { AccordionSummary, Button, styled, - Typography, } from '@mui/material'; import { StrategyEvaluationItem } from 'component/common/ConstraintsList/StrategyEvaluationItem/StrategyEvaluationItem'; import { ConstraintItem } from 'component/common/ConstraintsList/ConstraintItem/ConstraintItem'; @@ -64,6 +63,11 @@ const StyledButton = styled(Button)(({ theme }) => ({ fontSize: theme.typography.body2.fontSize, })); +const StyledNoConstraintsText = styled('p')(({ theme }) => ({ + fontSize: theme.typography.body2.fontSize, + color: theme.palette.text.secondary, +})); + export const SegmentItem: FC = ({ segment, isExpanded, @@ -90,7 +94,11 @@ export const SegmentItem: FC = ({ ); } - return This segment has no constraints.; + return ( + + This segment has no constraints. + + ); }, [constraintList, segment.constraints]); return ( diff --git a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureResultInfoPopoverCell.tsx b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureResultInfoPopoverCell.tsx index fe8e82c7a9..2887ac3f58 100644 --- a/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureResultInfoPopoverCell.tsx +++ b/frontend/src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureResultInfoPopoverCell.tsx @@ -77,6 +77,9 @@ const LegacyFeatureResultInfoPopoverCell = ({ const DetailsPadding = styled('div')(({ theme }) => ({ paddingInline: `var(--popover-inline-padding, ${theme.spacing(4)})`, paddingTop: theme.spacing(2.5), + display: 'flex', + flexDirection: 'column', + gap: theme.spacing(2), })); export const NewFeatureResultInfoPopoverCell = ({