mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Fix code block overflow issue in comments
This commit is contained in:
@@ -202,6 +202,7 @@
|
||||
.revision-description {
|
||||
margin-left: 2.75rem;
|
||||
padding-right: 0.5rem;
|
||||
max-width: fit-content;
|
||||
}
|
||||
.author-metadata {
|
||||
color: var(--color-fill-gray);
|
||||
|
||||
@@ -628,10 +628,12 @@
|
||||
}
|
||||
}} />
|
||||
{:else if issue.discussion[0].body}
|
||||
<Markdown
|
||||
breaks
|
||||
content={issue.discussion[0].body}
|
||||
rawPath={rawPath(project.head)} />
|
||||
<div style:max-width="fit-content">
|
||||
<Markdown
|
||||
breaks
|
||||
content={issue.discussion[0].body}
|
||||
rawPath={rawPath(project.head)} />
|
||||
</div>
|
||||
{:else}
|
||||
<span class="txt-missing">No description</span>
|
||||
{/if}
|
||||
|
||||
@@ -848,10 +848,12 @@
|
||||
}
|
||||
}} />
|
||||
{:else if description}
|
||||
<Markdown
|
||||
breaks
|
||||
content={description}
|
||||
rawPath={rawPath(patch.id)} />
|
||||
<div style:max-width="fit-content">
|
||||
<Markdown
|
||||
breaks
|
||||
content={description}
|
||||
rawPath={rawPath(patch.id)} />
|
||||
</div>
|
||||
{:else}
|
||||
<span class="txt-missing">No description available</span>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user