Merge pull request #1161 from nktnet1/volume-file-mount-content-line-clamp

fix(ui): volume file mount content, line clamp and preserve whitespace
This commit is contained in:
Mauricio Siu 2025-01-21 21:51:07 -06:00 committed by GitHub
commit c0f8218ad9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,7 +100,7 @@ export const ShowVolumes = ({ id, type }: Props) => {
{mount.type === "file" && (
<div className="flex flex-col gap-1">
<span className="font-medium">Content</span>
<span className="text-sm text-muted-foreground">
<span className="text-sm text-muted-foreground line-clamp-[10] whitespace-break-spaces">
{mount.content}
</span>
</div>