From 3f4c65321d94aa0089c0c2f37eff19da694e27c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Thu, 16 May 2024 14:04:37 +0200 Subject: [PATCH] Make code blocks full-width in issues/patches and comments --- src/components/Comment.svelte | 2 +- src/views/projects/Issue.svelte | 10 ++++------ src/views/projects/Patch.svelte | 10 ++++------ 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/src/components/Comment.svelte b/src/components/Comment.svelte index 32833f147..222e5f2e8 100644 --- a/src/components/Comment.svelte +++ b/src/components/Comment.svelte @@ -197,7 +197,7 @@ state = "read"; }} /> {:else} -
+
{/if} diff --git a/src/views/projects/Issue.svelte b/src/views/projects/Issue.svelte index 31346e7fc..71babe39e 100644 --- a/src/views/projects/Issue.svelte +++ b/src/views/projects/Issue.svelte @@ -629,12 +629,10 @@ } }} /> {:else if issue.discussion[0].body} -
- -
+ {:else} No description {/if} diff --git a/src/views/projects/Patch.svelte b/src/views/projects/Patch.svelte index 80e56f14b..2d5ad108d 100644 --- a/src/views/projects/Patch.svelte +++ b/src/views/projects/Patch.svelte @@ -846,12 +846,10 @@ } }} /> {:else if description} -
- -
+ {:else} No description available {/if}