diff --git a/frontend/src/component/common/FeatureStatusChip/FeatureStatusChip.tsx b/frontend/src/component/common/FeatureStatusChip/FeatureStatusChip.tsx index befa7f5b20..d75321470d 100644 --- a/frontend/src/component/common/FeatureStatusChip/FeatureStatusChip.tsx +++ b/frontend/src/component/common/FeatureStatusChip/FeatureStatusChip.tsx @@ -19,7 +19,7 @@ export const FeatureStatusChip = ({ const value = stale ? 'Stale' : 'Active'; return ( -
+
{value} diff --git a/frontend/src/component/feature/FeatureView/FeatureViewHeader.tsx b/frontend/src/component/feature/FeatureView/FeatureViewHeader.tsx index 2c502496cb..a1e5c26130 100644 --- a/frontend/src/component/feature/FeatureView/FeatureViewHeader.tsx +++ b/frontend/src/component/feature/FeatureView/FeatureViewHeader.tsx @@ -51,11 +51,15 @@ const NewStyledHeader = styled('div')(({ theme }) => ({ borderBottom: `1px solid ${theme.palette.divider}`, })); -const LowerHeaderRow = styled('div')(({ theme }) => ({ +const UpperHeaderRow = styled('div')(({ theme }) => ({ display: 'flex', flexFlow: 'row wrap', - justifyContent: 'space-between', columnGap: theme.spacing(4), + alignItems: 'center', +})); + +const LowerHeaderRow = styled(UpperHeaderRow)(({ theme }) => ({ + justifyContent: 'space-between', })); const HeaderActions = styled('div')(({ theme }) => ({ @@ -99,10 +103,11 @@ const StyledInnerContainer = styled('div')(({ theme }) => ({ }, })); -const StyledFlagInfoContainer = styled('div')({ +const StyledFlagInfoContainer = styled('div')(({ theme }) => ({ display: 'flex', alignItems: 'center', -}); + columnGap: theme.spacing(1), +})); const StyledDependency = styled('div')(({ theme }) => ({ display: 'flex', @@ -259,7 +264,12 @@ export const FeatureViewHeader: FC = ({ feature }) => { <> {flagOverviewRedesign ? ( - {feature.name} + + {feature.name} + {feature.stale ? ( + + ) : null} + = ({ feature }) => { > {isFeatureNameCopied ? (