Improved sidebar selected styling, simplified logic and css
This commit is contained in:
@@ -35,7 +35,10 @@ const Breadcrumb = observer(({ document, collections }: Props) => {
|
||||
</CollectionName>
|
||||
{path.map(n => (
|
||||
<React.Fragment key={n.id}>
|
||||
<Slash /> <Crumb to={n.url}>{n.title}</Crumb>
|
||||
<Slash />{' '}
|
||||
<Crumb to={n.url} title={n.title}>
|
||||
{n.title}
|
||||
</Crumb>
|
||||
</React.Fragment>
|
||||
))}
|
||||
</Wrapper>
|
||||
|
||||
Reference in New Issue
Block a user