Skip to content

Commit

Permalink
fix: truncate too long input names
Browse files Browse the repository at this point in the history
  • Loading branch information
breeg554 committed Oct 17, 2024
1 parent 28aea9a commit 6bf0656
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ function BlockInputItem({ data, disabled }: IItem) {

return (
<div className="relative grid grid-cols-[120px_60px_70px]">
<p className="text-sm">{data.from.block_name}</p>
<p className="text-sm line-clamp-1" title={data.from.block_name}>
{data.from.block_name}
</p>
<div className="flex items-center text-sm">
<CheckboxInput
size="sm"
Expand Down

0 comments on commit 6bf0656

Please sign in to comment.