mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
fix: overflowing description (#6150)
This commit is contained in:
parent
b9a8280177
commit
11bfcd605a
@ -56,6 +56,10 @@ const StyledDescriptionContainer = styled('div')(({ theme }) => ({
|
||||
color: theme.palette.primary.contrastText,
|
||||
}));
|
||||
|
||||
const StyledDescription = styled('p')({
|
||||
wordBreak: 'break-all',
|
||||
});
|
||||
|
||||
const FeatureOverviewMetaData = () => {
|
||||
const projectId = useRequiredPathParam('projectId');
|
||||
const featureId = useRequiredPathParam('featureId');
|
||||
@ -88,7 +92,9 @@ const FeatureOverviewMetaData = () => {
|
||||
<StyledBodyItem data-loading>
|
||||
<div>Description:</div>
|
||||
<StyledDescriptionContainer>
|
||||
<p>{description}</p>
|
||||
<StyledDescription>
|
||||
{description}
|
||||
</StyledDescription>
|
||||
<PermissionIconButton
|
||||
projectId={projectId}
|
||||
permission={UPDATE_FEATURE}
|
||||
|
Loading…
Reference in New Issue
Block a user