mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Align placeholder with markdown content
So it doesn't visually jump around when toggling between issues with and without description.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user