1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

chore(#4209): minor front-end fixes (#4437)

This PR fixes links to segments from change requests and the bottom
border radius for segment change boxes.

Old border radius:

![image](https://github.com/Unleash/unleash/assets/17786332/e2485e8c-9dab-4fbc-8604-6abd48e13be1)


New border radius: 

![image](https://github.com/Unleash/unleash/assets/17786332/2e2f54b0-37c0-4cec-9902-14b43827beaf)
This commit is contained in:
Thomas Heartman 2023-08-07 15:39:24 +02:00 committed by GitHub
parent f889eba6e9
commit 18b5161ade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export const SegmentChange: FC<ISegmentChangeProps> = ({
<Link
component={RouterLink}
to={`/segments/${segmentChange.payload.id}`}
to={`/segments/edit/${segmentChange.payload.id}`}
color="primary"
underline="hover"
sx={{

View File

@ -38,6 +38,7 @@ const SegmentContainer = styled(Box)(({ theme }) => ({
borderColor: theme.palette.divider,
borderTopColor: theme.palette.divider,
padding: theme.spacing(3),
borderRadius: `0 0 ${theme.shape.borderRadiusLarge}px ${theme.shape.borderRadiusLarge}px`,
}));
export const SegmentChangeDetails: VFC<{