Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Tweak commit/issue/patch teaser link underlines
Rūdolfs Ošiņš committed 1 year ago
commit aa48c69aa9f2257b239981cb68e5f7de7161f155
parent e3491bc5715bce071c0c8a5fba25fc5bdafec932
3 files changed +19 -10
modified src/views/projects/Commit/CommitTeaser.svelte
@@ -60,6 +60,9 @@
  }
  .summary:hover {
    text-decoration: underline;
+
    text-decoration-thickness: 1px;
+
    text-underline-offset: 2px;
+
    cursor: pointer;
  }
  .commit-message {
    margin: 0.5rem 0;
modified src/views/projects/Issue/IssueTeaser.svelte
@@ -56,6 +56,9 @@
  }
  .issue-title:hover {
    text-decoration: underline;
+
    text-decoration-thickness: 1px;
+
    text-underline-offset: 2px;
+
    cursor: pointer;
  }
  .right {
    display: flex;
modified src/views/projects/Patch/PatchTeaser.svelte
@@ -60,6 +60,9 @@
  }
  .patch-title:hover {
    text-decoration: underline;
+
    text-decoration-thickness: 1px;
+
    text-underline-offset: 2px;
+
    cursor: pointer;
  }
  .right {
    margin-left: auto;
@@ -109,14 +112,14 @@
  </div>
  <div class="content">
    <div class="summary">
-
      <Link
-
        route={{
-
          resource: "project.patch",
-
          project: projectId,
-
          node: baseUrl,
-
          patch: patch.id,
-
        }}>
-
        <span class="patch-title">
+
      <span class="patch-title">
+
        <Link
+
          route={{
+
            resource: "project.patch",
+
            project: projectId,
+
            node: baseUrl,
+
            patch: patch.id,
+
          }}>
          <InlineMarkdown fontSize="regular" content={patch.title}>
            {#if patch.labels.length > 0}
              <span style="display: inline-flex; gap: 0.5rem; flex-wrap: wrap;">
@@ -124,8 +127,8 @@
              </span>
            {/if}
          </InlineMarkdown>
-
        </span>
-
      </Link>
+
        </Link>
+
      </span>
      <div class="right">
        <div class="diff-comment">
          {#if commentCount > 0}