mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-30 16:50:47 +08:00
Truncate long title in breadcrumbs with ellipsis
We can still see the full title at the top of the issue.
This commit is contained in:
+22
-18
@@ -297,25 +297,29 @@
|
||||
|
||||
<Layout>
|
||||
{#snippet breadcrumbs()}
|
||||
<Link route={{ resource: "home" }}>
|
||||
<NodeId
|
||||
publicKey={config.publicKey}
|
||||
alias={config.alias}
|
||||
styleFontFamily="var(--font-family-sans-serif)"
|
||||
styleFontSize="var(--font-size-tiny)" />
|
||||
</Link>
|
||||
<Link route={{ resource: "repo.issues", rid: repo.rid, status: "open" }}>
|
||||
<div class="global-flex">
|
||||
<Icon name="chevron-right" />
|
||||
{project.data.name}
|
||||
<div class="global-flex txt-overflow">
|
||||
<Link route={{ resource: "home" }}>
|
||||
<NodeId
|
||||
publicKey={config.publicKey}
|
||||
alias={config.alias}
|
||||
styleFontFamily="var(--font-family-sans-serif)"
|
||||
styleFontSize="var(--font-size-tiny)" />
|
||||
</Link>
|
||||
<Link route={{ resource: "repo.issues", rid: repo.rid, status: "open" }}>
|
||||
<div class="global-flex">
|
||||
<Icon name="chevron-right" />
|
||||
{project.data.name}
|
||||
</div>
|
||||
</Link>
|
||||
<Icon name="chevron-right" />
|
||||
<Link route={{ resource: "repo.issues", rid: repo.rid, status: "open" }}>
|
||||
Issues
|
||||
</Link>
|
||||
<Icon name="chevron-right" />
|
||||
<div class="txt-overflow">
|
||||
{issue.title}
|
||||
</div>
|
||||
</Link>
|
||||
<Icon name="chevron-right" />
|
||||
<Link route={{ resource: "repo.issues", rid: repo.rid, status: "open" }}>
|
||||
Issues
|
||||
</Link>
|
||||
<Icon name="chevron-right" />
|
||||
{issue.title}
|
||||
</div>
|
||||
{/snippet}
|
||||
|
||||
{#snippet headerCenter()}
|
||||
|
||||
Reference in New Issue
Block a user