Skip to content

Commit c0f8218

Browse files
authored
Merge pull request #1161 from nktnet1/volume-file-mount-content-line-clamp
fix(ui): volume file mount content, line clamp and preserve whitespace
2 parents 35dd6bf + 6d90e26 commit c0f8218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dokploy/components/dashboard/application/advanced/volumes/show-volumes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const ShowVolumes = ({ id, type }: Props) => {
100100
{mount.type === "file" && (
101101
<div className="flex flex-col gap-1">
102102
<span className="font-medium">Content</span>
103-
<span className="text-sm text-muted-foreground">
103+
<span className="text-sm text-muted-foreground line-clamp-[10] whitespace-break-spaces">
104104
{mount.content}
105105
</span>
106106
</div>

0 commit comments

Comments
 (0)