Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Truncate long title in breadcrumbs with ellipsis
✓ CI success Rūdolfs Ošiņš committed 1 year ago
commit 52c25a905d8edbbe98523c1e80e9edfbd2ce7030
parent cd0bc9c01bc476c1132ac5261db7aee11eacad35
1 passed (1 total) View logs
1 file changed +22 -18
modified src/views/repo/Issue.svelte
@@ -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()}