Skip to content

Commit 7d43807

Browse files
olzzonhummelstrand
andcommitted
fix: limit part/piece title size to max 120
Co-authored-by: Jonas Hummelstrand <[email protected]>
1 parent b383596 commit 7d43807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webui/src/client/ui/util/AdjustLabelFit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const AdjustLabelFit: React.FC<AdjustLabelFitProps> = ({
105105

106106
// If label is longer than 140 characters, cut it off
107107
if (label.length > 140) {
108-
label = label.slice(0, 137) + '...'
108+
label = label.slice(0, 120) + '...'
109109
}
110110

111111
// Convert to CSS values:

0 commit comments

Comments
 (0)