Skip to content

Commit

Permalink
Merge pull request #1161 from nktnet1/volume-file-mount-content-line-…
Browse files Browse the repository at this point in the history
…clamp

fix(ui): volume file mount content, line clamp and preserve whitespace
  • Loading branch information
Siumauricio authored Jan 22, 2025
2 parents 35dd6bf + 6d90e26 commit c0f8218
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c0f8218

Please sign in to comment.