display requirements

This commit is contained in:
Delucse
2020-09-14 19:00:15 +02:00
parent 93e047f4bf
commit 84d4166cab
8 changed files with 144 additions and 194 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ class MyBreadcrumbs extends Component {
<Typography color="secondary">{content.title}</Typography>
</Link>
))}
<Typography color="textPrimary">{this.props.content.slice(-1)[0].title}</Typography>
<Typography color="textPrimary" style={{overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap', maxWidth: '300px'}}>
{this.props.content.slice(-1)[0].title}
</Typography>
</Breadcrumbs>
: null
);