Skip to content

Commit

Permalink
feat: add line break after requirement assessment title
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Mar 19, 2024
1 parent 3c5aee8 commit ddf36e4
Showing 1 changed file with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,23 @@
{#if assessable && canEditRequirementAssessment}
<span class="w-full h-full flex rounded-token hover:text-primary-500">
<a href="/requirement-assessments/{ra_id}?next={$page.url.pathname}">
{#if title} <span style="font-weight: 600;">{title}</span>&nbsp;&nbsp;{/if}
{#if description}{description}{/if}
{#if title}
<span style="font-weight: 600;">{title}</span>&nbsp;&nbsp;
{/if}
{#if description}
<p>{description}</p>
{/if}
</a>
</span>
{:else}
<p class="max-w-[80ch] whitespace-pre-line">
{#if title} <span style="font-weight: 600;">{title}</span>&nbsp;&nbsp;{/if}
{#if description}{description}{/if}
</p>
{#if title}
<span style="font-weight: 600;">{title}</span>&nbsp;&nbsp;
{/if}
{#if description}
<p>{description}</p>
{/if}
</p>
{/if}
</span>
{#if (threats && threats.length > 0) || (reference_controls && reference_controls.length > 0)}
Expand Down

0 comments on commit ddf36e4

Please sign in to comment.