mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-03 18:50:30 +08:00
Make code blocks full-width in issues/patches and comments
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user