1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

fix: truncate link in body and in breadcrumb

This commit is contained in:
Youssef 2021-10-15 11:39:47 +01:00 committed by Christopher Kolstad
parent b5072928b3
commit bdc4b3cf7a
2 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ const BreadcrumbNav = () => {
styles.breadcrumbNavParagraph styles.breadcrumbNavParagraph
} }
> >
{path} {path.substring(0,30)}
</p> </p>
); );
} }
@ -67,7 +67,7 @@ const BreadcrumbNav = () => {
className={styles.breadcrumbLink} className={styles.breadcrumbLink}
to={link} to={link}
> >
{path} {path.substring(0,30)}
</Link> </Link>
); );
})} })}

View File

@ -103,7 +103,7 @@ const FeatureView2 = () => {
return ( return (
<div> <div>
<p> <p>
The feature <strong>{featureId} </strong>does not exist. Do The feature <strong>{featureId.substring(0,30)}</strong> does not exist. Do
you want to &nbsp; you want to &nbsp;
<Link to={getCreateTogglePath(projectId)}>create it</Link> <Link to={getCreateTogglePath(projectId)}>create it</Link>
&nbsp;? &nbsp;?