Make code blocks full-width in issues/patches and comments

This commit is contained in:
Rūdolfs Ošiņš
2024-05-16 14:04:37 +02:00
parent 70f61170c9
commit 3f4c65321d
3 changed files with 9 additions and 13 deletions
+1 -1
View File
@@ -197,7 +197,7 @@
state = "read";
}} />
{:else}
<div style:overflow="hidden">
<div style:overflow="hidden" style:width="100%">
<Markdown breaks {rawPath} content={body} />
</div>
{/if}
+4 -6
View File
@@ -629,12 +629,10 @@
}
}} />
{:else if issue.discussion[0].body}
<div style:max-width="fit-content">
<Markdown
breaks
content={issue.discussion[0].body}
rawPath={rawPath(project.head)} />
</div>
<Markdown
breaks
content={issue.discussion[0].body}
rawPath={rawPath(project.head)} />
{:else}
<span class="txt-missing">No description</span>
{/if}
+4 -6
View File
@@ -846,12 +846,10 @@
}
}} />
{:else if description}
<div style:max-width="fit-content">
<Markdown
breaks
content={description}
rawPath={rawPath(patch.id)} />
</div>
<Markdown
breaks
content={description}
rawPath={rawPath(patch.id)} />
{:else}
<span class="txt-missing">No description available</span>
{/if}