fix(ui): volume file mount content, line clamp and preserve whitespace

This commit is contained in:
Khiet Tam Nguyen 2025-01-22 01:09:44 +11:00
parent f5d81f434c
commit 6d90e268f7
No known key found for this signature in database
GPG Key ID: 820E05388D9E305B

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>