truncate parameter names when they exceed the given width (#2021)

This commit is contained in:
Shuchang Zheng
2025-03-25 09:01:22 -07:00
committed by GitHub
parent cc6fac7605
commit 407e0a499e

View File

@@ -106,9 +106,9 @@ function WorkflowPostRunParameters() {
{Object.entries(parameters).map(([key, value]) => {
return (
<div key={key} className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">{key}</h1>
</div>
<span className="w-80 truncate text-lg" title={key}>
{key}
</span>
{typeof value === "string" ||
typeof value === "number" ||
typeof value === "boolean" ? (