1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: long project name display (#7435)

This commit is contained in:
Mateusz Kwasniewski 2024-06-25 12:22:03 +02:00 committed by GitHub
parent 3961c1abf0
commit 7e5ce08ea8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
import { capitalize, styled } from '@mui/material';
import { Box, capitalize, styled } from '@mui/material';
import { Link, useNavigate } from 'react-router-dom';
import { useFeature } from 'hooks/api/getters/useFeature/useFeature';
import { getFeatureTypeIcons } from 'utils/getFeatureTypeIcons';
@ -140,7 +140,7 @@ const FeatureOverviewMetaData = () => {
<StyledBody>
<SpacedBodyItem data-loading>
<StyledLabel>Project:</StyledLabel>
<span>{project}</span>
<Box sx={{ wordBreak: 'break-all' }}>{project}</Box>
</SpacedBodyItem>
<ConditionallyRender
condition={