Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Align placeholder with markdown content
Rūdolfs Ošiņš committed 1 year ago
commit 59be840f80f0ceef057d9f8b6f732c576125a32c
parent 6ff895e9a5e0bf5a71907548e2571a26a7406551
4 files changed +10 -4
modified src/components/RepoCard.svelte
@@ -43,7 +43,7 @@
      {#if project.data.description}
        {project.data.description}
      {:else}
-
        No description
+
        No description.
      {/if}
    </div>
    <div class="global-oid">{formatRepositoryId(repo.rid)}</div>
modified src/views/repo/CreateIssue.svelte
@@ -161,7 +161,9 @@
    {#if preview}
      <div class="txt-small body">
        {#if description.trim() === ""}
-
          <span class="txt-missing">No description.</span>
+
          <span class="txt-missing" style:line-height="1.625rem">
+
            No description.
+
          </span>
        {:else}
          <Markdown rid={repo.rid} content={description} breaks />
        {/if}
modified src/views/repo/Issue.svelte
@@ -190,7 +190,9 @@

    <div class="txt-small body">
      {#if issue.discussion[0].edits.slice(-1)[0].body.trim() === ""}
-
        <span class="txt-missing">No description.</span>
+
        <span class="txt-missing" style:line-height="1.625rem">
+
          No description.
+
        </span>
      {:else}
        <Markdown
          rid={repo.rid}
modified src/views/repo/Patch.svelte
@@ -136,7 +136,9 @@
          breaks
          content={revisions[0].description.slice(-1)[0].body} />
      {:else}
-
        <span class="txt-missing">No description.</span>
+
        <span class="txt-missing" style:line-height="1.625rem">
+
          No description.
+
        </span>
      {/if}
      <div class="global-flex txt-small" style:margin-top="1.5rem">
        <NodeId