Skip to content

Commit

Permalink
Do not break words in preview labels of objects
Browse files Browse the repository at this point in the history
  • Loading branch information
freekh committed Nov 2, 2024
1 parent 819d101 commit 6cf82f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ui/spa/ng/fields/ObjectFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ function PreviewField({
}) {
return (
<>
<span className="flex text-fg-quinary">{fixCapitalization(label)}</span>
<span className="flex whitespace-nowrap text-fg-quinary">
{fixCapitalization(label)}
</span>
{children}
</>
);
Expand Down

0 comments on commit 6cf82f5

Please sign in to comment.