Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Make entire CommitButton clickable
Sebastian Martinez committed 2 years ago
commit 230243e7726f8d4798cd361925bb04b8a04b9d46
parent f50521ca23e8c911bee955a719c0717c3df10492
1 file changed +15 -15
modified src/views/projects/components/CommitButton.svelte
@@ -26,24 +26,24 @@
  }
</style>

-
<Button
-
  title="Current HEAD"
-
  variant="not-selected"
-
  styleBorderRadius={styleRoundBorders
-
    ? "var(--border-radius-tiny)"
-
    : "0 var(--border-radius-tiny) var(--border-radius-tiny) 0"}>
-
  <Link
-
    route={{
-
      resource: "project.commit",
-
      project: projectId,
-
      node: baseUrl,
-
      commit: commit.id,
-
    }}>
+
<Link
+
  route={{
+
    resource: "project.commit",
+
    project: projectId,
+
    node: baseUrl,
+
    commit: commit.id,
+
  }}>
+
  <Button
+
    title="Current HEAD"
+
    variant="not-selected"
+
    styleBorderRadius={styleRoundBorders
+
      ? "var(--border-radius-tiny)"
+
      : "0 var(--border-radius-tiny) var(--border-radius-tiny) 0"}>
    <div class="commit">
      <div class="identifier global-commit">
        {commitShortId}
      </div>
      <span>{commit.summary}</span>
    </div>
-
  </Link>
-
</Button>
+
  </Button>
+
</Link>